Standard APIsConnectivity ManagementAPI EndpointsEmbedded SIM Including Consumer eSIMDelete Device Groups

API Reference

Delete Device Group

Uses and Requirements

Deletes a device group from the account. Devices in the group are moved to the default device group and are not deleted from the account.

Request

HTTP Request

DELETE https://thingspace.verizon.com/api/m2m/v1/groups/{accountname}/name/{gname}

Resource and Query Parameters

You must specify the account name and group name in the resource path.

Parameter NameData TypeDescription
accountname requiredstringThe name of the account that contains the device group that you want to delete. An account name is usually numeric, and must include any leading zeros.
gname requiredstring

Header Parameters

The request header must contain a current ThingSpace authorization bearer token and a valid VZ-M2M session token, and must set the content-type to JSON.

Parameter NameData TypeDescription
Authorization requiredstringHTTP Authorization bearer token.
VZ-M2M-Token requiredstringA valid session token returned by POST /session/login.
Content-Type requiredstringMust be application/json.

Request Body

None

Success Responses

Status 200

Parameter NameData TypeDescription
successstringA value of “true” indicates that the device group was updated successfully.

Example Success Response

{ "success": true }

Failure Responses

Status 400

All error messages are returned in this format:

{ "errorCode": "error code string", "errorMessage": "error message string" }  

On this page