Channel Collaborators

Delete Channel Collaborator

Changed on

Removes a collaborator's access to a channel.

Requires api token with one of the following permissions

Read, update & delete anything

Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.

An expiring access token created with the all:delegate_to_contact_permissions scope and an authorization granting the update permission on this channel can also be used.

delete/channels/{channelHashedId}/collaborators/{id}

Request

  • Base URL
    https://api.wistia.com/modern
  • URL
    https://api.wistia.com/modern/channels/{channelHashedId}/collaborators/{id}
  • Auth
    HTTP bearer

Path parameters

channelHashedIdstring required

Hashed ID of the channel (e.g., "abc123")

Channel Hashed ID

idinteger required

ID of the channel collaborator to delete

Collaborator ID

Headers

X-Wistia-API-Versionstring required

Response

Channel collaborator deleted successfully

idinteger required

The unique identifier of the channel role.

role'admin' | 'viewer' required

The role of the collaborator on the channel.

created_atstring date-time required

The timestamp when this collaborator was added.

cursorstring nullable

A cursor for stable pagination based on current sort_by order. You can pass this to cursor[before] or cursor[after] as a parameter to fetch the records before or after this record in the same sort order. This is only populated if records were fetched with cursor[enabled], or cursor[before] or cursor[after].

Example response

{
  "id": 14,
  "role": "admin",
  "created_at": "2024-01-15T10:30:00Z",
  "share": {
    "id": 3,
    "name": "Jim",
    "type": "Contact",
    "email": "jim@wistia.com"
  }
}

Changes