Skip to main content
POST
/
api_keys
/
revoke
/
{api_key_id}
Revoke API key
curl --request POST \
  --url https://api.partoo.co/v2/api_keys/revoke/{api_key_id} \
  --header 'x-APIKey: <api-key>'
{
  "id": 3245,
  "status": "success"
}

Authorizations

x-APIKey
string
header
required

The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.

Path Parameters

api_key_id
integer
required
Example:

3245

Response

OK

id
integer
Example:

3245

status
string
Example:

"success"