Delete API key for an organization
DELETE/api/v1/apikeys/:orgId/:apiKey
Delete an API key for an organization. The API key will no longer be valid for authentication.
Request
Path Parameters
orgId stringrequired
Organization Id
apiKey stringrequired
APIKey
Header Parameters
X-API-KEY stringrequired
APIKey
Responses
- 204
- 400
- 403
- 404
- 500
API key deleted
bad request
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
forbidden, you are not allowed to delete this API key. Please contact your organization admin
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
APIkey not found
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
internal server error
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
Loading...