Specialized APIsSensor InsightsAPI Reference

Delete a user profile

DELETE /dm/v1/users

Use this endpoint to delete a user profile record.

Header Parameters

The request header must set the content-type to JSON, contain a current ThingSpace authorization token and a current VZ-M2M session token. For more details on how to get these tokens, visit Getting Started.

Parameter NameData TypeDescription
Authorization (required)stringHTTP Authorization request header containing a valid Bearer token: Authorization: Bearer {token}
VZ-M2M-Token (required)stringA valid session token returned by a Connectivity Management POST /session/login request.
Content-Type (required)stringMust be application/json.

HTTP Request

DELETE https://thingspace.verizon.com/api/dm/v1/users

Request Parameters

Note: All parameters are required unless marked (optional)

ParameterData TypeDescription
accountnamestringThe numeric name of the account and must include leading zeros.
idstring

Request Body

Note: The account name and ID must be included as part of the query. Example Request:

{
  "accountname": "0000123456-00001",
  "id": "8ea30999-09be-4f8e-99b3-3ea409f5fee4"
}

Success Response

Status 204 There is no response body; the only response returned will be an HTML 204.

Success Parameters

None

Failure Responses

Example Response:

{
  "error": "Error name or code",
  "error_description": "A longer error description.",
  "cause": "A cause for the error"
}

On this page