Delete an organization API key

Request

Deletes an API key with a specified ID that is owned by a member of the organization, if the API key has access to no other organization. The deleted API key can no longer be used to authenticate requests.

If the API key has access to other organizations, only the permissions of the API key that apply to the organization are removed. The API key no longer has access to the organization, and retains its access to the other organizations. If the API key has permissions that apply to every organization, and the owner is a member of more than 100 other organizations, a 409 error is returned.

Security
SecretApiKey or JWT
Path
idstring, <= 50 characters^[@~\-\.\w]+$required

ID of the resource.

curl -i -X DELETE \
  'https://www.rebilly.com/_mock/catalog/all/organization-api-keys/{id}' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

API key deleted.

Headers
Rate-Limit-Limitinteger

Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.

Example:500
Rate-Limit-Remaininginteger

Number of requests still available for this rate limit. For more information, see Rate limits.

Example:499
Response
No content