auth0 token-exchange update
Update a token exchange profile.
To update interactively, use auth0 token-exchange update with no arguments.
To update non-interactively, supply the profile id, name, and subject token type through the flags.
Note: Only name and subject token type can be updated. Action ID and type are immutable after creation.
Use ‘–schema’ to print the request payload schema and exit. Use ‘–data’ to supply the full JSON payload (validated against the schema before sending).
Usage
auth0 token-exchange update [flags]
Examples
auth0 token-exchange update
auth0 token-exchange update <profile-id>
auth0 token-exchange update <profile-id> --name "Updated Profile Name"
auth0 token-exchange update <profile-id> --name "Updated Profile Name" --subject-token-type "urn:ietf:params:oauth:token-type:jwt"
auth0 token-exchange update <profile-id> -n "Updated Profile Name" -s "urn:ietf:params:oauth:token-type:jwt" --json
auth0 token-exchange update <profile-id> -n "Updated Profile Name" -s "urn:ietf:params:oauth:token-type:jwt" --json-compact
# Discover the payload schema
auth0 token-exchange update --schema
auth0 token-exchange update --schema --json
# JSON input mode (for agents and automation)
auth0 token-exchange update <profile-id> --data '{"name":"Updated Profile Name"}'
auth0 token-exchange update <profile-id> --data @profile.json
Flags
--data string JSON payload for the operation, as a JSON string or file path (@file.json). Can also be piped via stdin.
--json Output in json format.
--json-compact Output in compact json format.
-n, --name string Name of the token exchange profile.
--schema Print the request payload schema for this command and exit. Use with --json or --json-compact for machine-readable output.
-s, --subject-token-type string Type of the subject token. Must be a valid URI format (e.g., urn:ietf:params:oauth:token-type:jwt). Cannot use reserved prefixes: http://auth0.com, https://auth0.com, http://okta.com, https://okta.com, urn:ietf, urn:auth0, urn:okta.
Inherited Flags
--agent-mode Output JSON, disable prompts and colors. Auto-enabled for AI agents; set AUTH0_AGENT_MODE=false to disable.
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
Related Commands
- auth0 token-exchange create - Create a new token exchange profile
- auth0 token-exchange delete - Delete a token exchange profile
- auth0 token-exchange list - List your token exchange profiles
- auth0 token-exchange show - Show a token exchange profile
- auth0 token-exchange update - Update a token exchange profile