cURL
curl --request POST \ --url https://api.example.com/oauth \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "handle": "<string>", "_auth": { "owner": "<string>", "realm": "<string>", "organization": "<string>", "domain": "<string>" }, "scopes": [ "<string>" ], "roles": [ "<string>" ] } '
{ "handle": "<string>", "client_id": "<string>", "client_secret": "<string>", "api_key": "<string>", "_auth": { "owner": "<string>", "realm": "<string>", "organization": "<string>", "domain": "<string>" }, "scopes": [ "<string>" ], "roles": [ "<string>" ], "created": "<string>", "updated": "<string>" }
Endpoint used for creating of credentials
Show child attributes
Credentials created successfully