Delete Asset Group

DELETE/v1/asset-groups/{groupId}

Delete an asset group owned by the caller.

The group cannot be deleted while it contains managed Real Face or Virtual Portrait assets. Delete those managed assets first and wait for their deletion operations to finish. When deletion is allowed, ordinary assets remaining in the group are deleted with the group.

Authentication

Authorization Bearer — JWT session or sk-* API key.

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": 200,
3  "data": "Deleted successfully",
4  "msg": "success"
5}

Managed asset quota and lifecycle

Virtual Portrait and Real Face uploads share the managed-asset quota for the current personal or tenant scope. Treat Get Asset Quota as the source of truth. The current default is 50,000 for a personal scope and 500,000 for a tenant scope; configured limits may differ.

Use only the public assetId and assetGroupId returned by Token360 in client integrations.

Was this page helpful?
Delete Asset Group · Token360