Skip to main content
POST
/
org
/
{org}
/
serviceaccount
/
{name}
/
-addKey
Add a key to a service account
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>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.controlplane.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Service account key can be used as API keys

Path Parameters

org
string
required
name
string
required

Body

application/json
description
string
Maximum string length: 250

Response

Service account was created successfully

name
string
read-only
created
string<date-time>
read-only
key
string
read-only
description
string
Maximum string length: 250