Skip to content

Click2CallDeleteProfile

DELETE click2call/providerProfile

Soft-deletes a provider profile and takes it out of routing. Call history keeps pointing at it, so old calls still show which profile and provider they used.

Credentials stay in the record — deleting a profile is not a way to revoke a provider token.

Access Control

Allowed role: admin, within the brand of the caller.

Request

DELETE request
DELETE https://{broker_domain}/click2call/providerProfile?id=3
Authorization: <JWT_TOKEN>
{
  "command": "Click2CallDeleteProfile",
  "extID": "1",
  "data": {
    "id": 3
  }
}
const res = await platform.Click2CallDeleteProfile({
  id: 3
});

Request Data

Field Type Required Description
id int Yes Profile id

Response Data

{
  "id": 3,
  "deleted": true,
  "message": "Profile with ID 3 has been deleted"
}

Errors

Code Error Description
404 NOT_FOUND Profile not found in the brand