Delete Asset Group

DELETE/v1/asset-groups/{groupId}

Delete an asset group.

Deleting a group also deletes assets in that group.

Authentication

Authorization Bearer

API key as bearer token in Authorization header.

Path Parameters

groupIdstringrequired

Asset group ID.

Response

codeinteger

Response status code.

datastring

Deleted confirmation message (`Deleted successfully`).

msgstring

Response message.

serviceCodestring | null

Service error code on failure.

Request

Shell
1curl -X DELETE https://api.token360.ai/v1/asset-groups/{groupId} \
2  -H "Authorization: Bearer sk-your-api-key"

Response

JSON
1{
2  "code": 0,
3  "data": "Deleted successfully",
4  "msg": "Asset group deleted"
5}
Was this page helpful?