Delete Access Token
DELETE https://api.ecartapi.com/apps/:appId/accesses
This call will delete the store access that you send in the header authorization.
It's required to send the App Id of the app where the store was created.
Possible response satus codes
Status | Message | Description |
---|---|---|
200 | Success | Token has been succesfully deleted |
404 | The access token does not belong to this app. | The access token attempted to be deleted does not belong to the App id provided in the parameters |
404 | The App does not exist. | The app provided in the parameters does not exist |
401 | Invalid token | Token provided to delete does not exist |
401 | Token has been deleted | Token provided to delete has already been deleted |
401 | Token is inactive | Token provided has been deactivated |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true}