Grant a team permission to a user (the team permission must be created first on the Stack dashboard)
The ID of the user, or the special value me
for the currently authenticated user
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
Filter with the team ID. If set, only the permissions of the members in a specific team will be returned.
Filter with the user ID. If set, only the permissions this user has will be returned. Client request must set user_id=me
Filter with the permission ID. If set, only the permissions with this specific ID will be returned
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.
Successful response
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
The unique identifier of the user
The unique identifier of the team