cURL
curl --request POST \ --url http://localhost:55001/api/auth/clients/{clientId}/secrets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "metadata": {} }'
{ "data": { "name": "<string>", "metadata": {}, "id": "<string>", "lastDigits": "<string>", "clear": "<string>" } }
The access token received from the authorization server in the OAuth 2.0 flow.
Client ID
Created secret
The response is of type object.
object