Refresh an auth server client secret
Regenerate the client secret for this auth server client. The previous secret is immediately invalidated, but existing tokens remain valid until they expire. To revoke existing tokens, use the delete tokens endpoint.
Path Parameters
The auth server ID
Example:d32d905a-ed33-46a3-a093-d8f536af9a8a
The OAuth 2.0 client ID
Match pattern:[-_\w]+
>= 1 characters<= 36 characters
Example:kYa9iQFU5xPDSIUH9z1z
Response
application/json
Response
Result of a refreshed secret
RefreshedSecret
The result of a refreshed client secret.
The OAuth 2.0 client secret
Example:YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae
Authentication
Path Parameters
List all auth server client tokens
List all the tokens for a given client.
Query Parameters
The maximum number of items to include per page. The last page of a collection may include fewer items.
Example:10
Determines which page of the entities to retrieve.
Example:1
The asc suffix is optional as the default sort order is ascending.
The desc suffix is used to specify a descending order.
Multiple sort attributes may be provided via a comma separated list.
JSONPath notation may be used to specify a sub-attribute (eg: ‘foo.bar desc’).
Example:created_at desc
Filter tokens returned in the response.
Show Child Parameters
Path Parameters
The auth server ID
Example:d32d905a-ed33-46a3-a093-d8f536af9a8a
The OAuth 2.0 client ID
Match pattern:[-_\w]+
>= 1 characters<= 36 characters
Example:kYa9iQFU5xPDSIUH9z1z
Response
application/json
Response
List of tokens
TokenList
Show Child Parameters
returns the pagination information
Show Child Parameters
Authentication
Path Parameters
Query Parameters
Get an auth server client token
Get a token for given client and auth server.
Path Parameters
The auth server ID
Example:d32d905a-ed33-46a3-a093-d8f536af9a8a
The OAuth 2.0 client ID
Match pattern:[-_\w]+
>= 1 characters<= 36 characters
Example:kYa9iQFU5xPDSIUH9z1z
The token ID
Example:2cec70a4-d197-495c-8f3e-c0a1199d1da4
Response
application/json
Response
A token
Token
The ID of the token
The scopes that the token has been granted
An ISO-8601 timestamp representation of entity creation date.
Example:2022-11-04T20:10:06.927Z
An ISO-8601 timestamp representation of the expiration date
Example:2022-11-04T20:10:06.927Z
The type of the token
Allowed values:access_tokenrefresh_token
Authentication
Path Parameters
CreateSecretPayload
objectThe OAuth 2.0 client secret
Example:YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae
Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.
Default:true
UpdateSecretPayload
objectSpecifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.
Default:true