/v1/admin/principals/{principal_id}/api-keys| Name | Type | Required | Description |
|---|---|---|---|
principal_id | string (uuid) | Required |
| Name | Type | Required | Description |
|---|---|---|---|
X-API-Key | string | Optional |
nameobjectscopesstring[]expires_atobjectcurl -X POST '/api-proxy/v1/admin/principals/{principal_id}/api-keys' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"name": {},
"scopes": [
"string"
],
"expires_at": {}
}'No response body documented
curl -X POST '/api-proxy/v1/admin/principals/{principal_id}/api-keys' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"name": {},
"scopes": [
"string"
],
"expires_at": {}
}'No response body documented