Grant a team permission to a user
Grant a team permission to a user (the team permission must be created first on the Stack dashboard)
Path parameters
team_id
user_id
The ID of the user, or the special value me
for the currently authenticated user
permission_id
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
, $manage_api_keys
Request
This endpoint expects an object.
Response
Successful response
id
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
, $manage_api_keys
user_id
The unique identifier of the user
team_id
The unique identifier of the team