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

StatusMessageDescription
200SuccessToken has been succesfully deleted
404The 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
404The App does not exist.The app provided in the parameters does not exist
401Invalid tokenToken provided to delete does not exist
401Token has been deletedToken provided to delete has already been deleted
401Token is inactiveToken provided has been deactivated

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true}