Delete Reseller Assignment

Deletes a reseller assignment from a trunk. Only Admin can perform this operation.

Request URL

DELETE {base_url}/uc-cconfig/api/v1/trunks/{trunkId}/assignments/resellers/{resellerId}

Request parameters

Headers
Parameter Required Type Description
Authorization Yes String The access token used for authentication.

Format: Bearer {access_token}.

Path parameters
Parameter Required Type Description
trunkId Yes String The ID of the trunk. You can obtain the ID using the Search Trunks interface.
resellerId Yes String The ID of the reseller whose assignment is deleted. You can obtain the reseller ID using the Get Trunk Assignments interface.

Response parameters

Parameter Type Description
requestId String The unique ID of the request, which can be used to quickly locate the request.
code String The HTTP status code of the request.
  • 200: Request succeeded.
  • Non-200 value: Request failed.
message String The status message of the request.
detailMessage String The detailed error information.

When the request is successful, this parameter returns empty.

result Object<Delete_Result> The deletion result.
Delete_Result
Parameter Type Description
success Boolean

Whether the deletion succeeded.

  • true: The reseller assignment is deleted.
  • false: The deletion failed.