Syntax

You can modify a profile by providing the flags directly in the command or by passing individual field values in interactive mode.
suprsend profile modify [flags]

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
--name stringName of the profile to modify
--service-token stringNew service token for the profile
--base-url stringNew Hub API endpointhttps://hub.suprsend.com/
--mgmnt-url stringNew Management API endpointhttps://api.suprsend.com/

Example

# Update service token for a profile
suprsend profile modify --name my-profile --service-token new-token


# token is mandatory, other fields are optional (just pass the flags you want to modify)
suprsend profile modify \
  --name production-profile \
  --token new-prod-token \
  --base-url https://hub.suprsend.com/ \
  --mgmnt-url https://api.suprsend.com/