DevelopersAPI referenceAuth & accountsMe
Revoke a user API key
Full sessions only.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
kid*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/me/api-keys/string"{ "message": "string"}Create a user API key
Full sessions only. Returns 200 (not 201) with the key including its show-once secret. org_id defaults to the personal org; role is ignored for user keys; expires_in_days null = 365, 0 = never.
Create a team organization
Any authenticated user. Slug auto-derived; caller becomes owner and the new org becomes their default. Returns 200 with a new org-scoped access token (org payload without tools here).