Revoke an API key
curl --request DELETE \
--url http://localhost:3001/v1/api-keys/{keyId}{
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"prefix": "<string>",
"scopes": [
"<string>"
],
"createdByUserId": "<string>",
"lastUsedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"revokedAt": "2023-11-07T05:31:56Z",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}๐ Integrations & API Keys
Revoke an API key
Revokes an organization-scoped API key. Requires a signed-in dashboard session.
DELETE
/
v1
/
api-keys
/
{keyId}
Revoke an API key
curl --request DELETE \
--url http://localhost:3001/v1/api-keys/{keyId}{
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"prefix": "<string>",
"scopes": [
"<string>"
],
"createdByUserId": "<string>",
"lastUsedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"revokedAt": "2023-11-07T05:31:56Z",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Headers
Minimum string length:
1Minimum string length:
1Path Parameters
Response
Default Response
Available options:
active, expired, revoked โI
