curl --request DELETE \
--url https://prod.oneloop.ai/api/v1/workspace/{id}/api-key/{akid} \
--header 'Authorization: Bearer <token>'{
"apiKey": {
"id": "<string>",
"name": "<string>",
"maskedKey": "<string>",
"prefix": "<string>",
"expiresAt": 1,
"scopes": [
{
"representation": "<string>",
"create": true,
"read": true,
"update": true,
"del": true,
"id": "<string>"
}
],
"enabled": true,
"customerId": "<string>",
"deleted": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"lastUsedAt": "<string>",
"billingId": "<string>"
}
}curl --request DELETE \
--url https://prod.oneloop.ai/api/v1/workspace/{id}/api-key/{akid} \
--header 'Authorization: Bearer <token>'{
"apiKey": {
"id": "<string>",
"name": "<string>",
"maskedKey": "<string>",
"prefix": "<string>",
"expiresAt": 1,
"scopes": [
{
"representation": "<string>",
"create": true,
"read": true,
"update": true,
"del": true,
"id": "<string>"
}
],
"enabled": true,
"customerId": "<string>",
"deleted": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"lastUsedAt": "<string>",
"billingId": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The updated deleted key
Show child attributes
x > 0