Aller au contenu

/api/me/workspaces/{wid}/api-keys (POST)

POST
/api/me/workspaces/{wid}/api-keys
curl --request POST \
--url https://example.com/api/me/workspaces/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/api-keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "role": "example" }'
wid
required
string format: uuid
Media type application/json
object
name
string
nullable
role
string
nullable
Example generated
{
"name": "example",
"role": "example"
}

OK