API referenceManagement keys
Create a management key
For the CLI, CI and agents. A key acts as an admin of the account. Only an owner or admin signed in to the console may create one.
AuthorizationBearer <token>
A management key, made in the console. It acts as an admin of its account.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/keys" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "key": { "id": "string", "name": "string", "label": "string", "hint": "string", "source": "string", "created_at": "string", "revoked_at": "string" }, "token": "string"}List the account's management keys
List the account's management keys (GET /v1/admin/keys) in the SyncPilled API. Accepts a management key or a console sign-in.
Revoke a management key
Revoke a management key (POST /v1/admin/keys/{key}/revoke) in the SyncPilled API. Accepts a management key or a console sign-in.