Esri's Geotrigger Service is replacing Geoloqi! Learn More | FAQ

link/expire

Contents

URL

https://api.geoloqi.com/1/link/expire

Description

Expire an existing sharing link so that it will no longer have access to the user's location.

Supported Request Methods

POST

Scope

share

Parameters

  • token
    The token to expire.

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_expired",
  "error_description":"The token was already expired"
}