Revoke a team permission from a user

DEL

Revoke a team permission from a user

Path parameters

team_idstringRequired
user_idstringRequired

The ID of the user, or the special value me for the currently authenticated user

permission_idstringRequired

The permission ID used to uniquely identify a permission. Can either be a custom permission with lowercase letters, numbers, :, and _ characters, or one of the system permissions: $update_team, $delete_team, $read_members, $remove_members, $invite_members

Query parameters

team_idstringOptional

Filter with the team ID. If set, only the permissions of the members in a specific team will be returned.

user_idstringOptional

Filter with the user ID. If set, only the permissions this user has will be returned. Client request must set user_id=me

permission_idstringOptional

Filter with the permission ID. If set, only the permissions with this specific ID will be returned

recursivestringOptional

Whether to list permissions recursively. If set to false, only the permission the users directly have will be listed. If set to true all the direct and indirect permissions will be listed.

Response

This endpoint returns an object.
successboolean

Always equal to true.