Skip to main content
POST
/
connection
/
revoke_token
Revoke connection token
curl --request POST \
  --url https://api.partoo.co/v2/connection/revoke_token \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "user_id": "5309c3a237bbc544d8e26737",
  "token": "\\xaf3e8951c1f4c42f9cc53116b3fc855bd44bce01cf27604b"
}'
{}

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.

Body

application/json
user_id
string
required

User id

Example:

"5309c3a237bbc544d8e26737"

token
string

Token to revoke

Example:

"\\xaf3e8951c1f4c42f9cc53116b3fc855bd44bce01cf27604b"

Response

OK

The response is of type object.