cURL
curl --request POST \ --url http://localhost/api/auth/clients \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "public": true, "redirectUris": [ "<string>" ], "description": "<string>", "trusted": true, "postLogoutRedirectUris": [ "<string>" ], "metadata": {}, "scopes": [ "<string>" ] } '
{ "data": { "name": "<string>", "id": "<string>", "public": true, "redirectUris": [ "<string>" ], "description": "<string>", "trusted": true, "postLogoutRedirectUris": [ "<string>" ], "metadata": {}, "scopes": [ "<string>" ], "secrets": [ { "lastDigits": "<string>", "name": "<string>", "id": "<string>", "metadata": {} } ] } }
The access token received from the authorization server in the OAuth 2.0 flow.
Show child attributes
Client created