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_idstringOptional
user_idstringOptional

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

permission_idstringOptional

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

idstring

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_idstring

The unique identifier of the user

team_idstring

The unique identifier of the team