cURL
curl --request POST \ --url https://api.cpln.io/org/{org}/serviceaccount/{name}/-addKey \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "description": "<string>" } '
{ "name": "<string>", "created": "2023-11-07T05:31:56Z", "key": "<string>", "description": "<string>" }
You may want to capture the result of this as the key will never be shown again
Service account key can be used as API keys
250
Service account was created successfully