DELETE /callbacks
Stops ThingSpace from sending callback messages for the specified account and listener name.
See also:
GET /callbacks
- Get the registered callback listeners for the accountPOST /callback
- Register callback listeners for the accountA vz-m2m-token
is required to use these APIs. To obtain a token, please visit Getting Started to get a token.
DELETE https://thingspace.verizon.com/api/hyper-precise/v1/callbacks?accountNumber={accountNumber}&name={name}
Parameter | Data Type | Description |
---|---|---|
accountNumber required |
string | A unique identifier for an account.. |
name required |
string | The name of the callback listener that will be deleted. |
Example request:
curl -X 'DELETE' \
'https://thingspace.verizon.com/api/hyper-precise/v1/callbacks?accountNumber={accountName}&name={name}' \
-H 'accept: application/json' \
-H 'VZ-M2M-Token: {token}'
Status 200
A successful request returns a responseCode
and/or a message indicating success or failure of the request
Example response:
{
"responseCode": "string",
"message": "string"
}
Parameter | Data Type | Description |
---|---|---|
responseCode | string | An enumerated string with one of the following values - INVALID_ACCESS, INVALID_PARAMETER, INTERNAL_ERROR, SUCCESS. |
message | string | More details about the responseCode received. |
Code and Meaning | Format |
---|---|
400 - Bad Request. |
|
401 - Unauthorized request. Access token is missing or invalid. |
|
403 - Forbidden request. |
|
404 - Bad request. Not found. |
|
409 - Bad request. Conflict state. |
|
500 - Internal Server Error. |
|