Contents |
URL
https://api.geoloqi.com/1/link/deactivate
Description
Deactivate a link so that it doesn't show the user's location. This is different from expiring, because deactivated links can be reactivated again. Once a link is expired, it will never be accessible again.
Supported Request Methods
POST
Scope
share
Parameters
- tokenThe token to deactivate.
Response
Success
If the link was expired successfully, you will get the following response.
HTTP/1.1 200 OK { "result":"ok" }
Errors
Possible errors are
HTTP/1.1 400 Bad Request { "error":"missing_input", "error_description":"Token not found in request body" }
HTTP/1.1 404 Not Found { "error":"not_found", "error_description":"The token provided was not found" }
HTTP/1.1 403 Forbidden { "error":"access_denied", "error_description":"Access denied to this token" }
HTTP/1.1 409 Conflict { "error":"already_inactive", "error_description":"The token is already inactive" }