Permission templates endpoint¶
Permission templates documentation
Fetch all permission templates¶
- permission_templates(team_id)¶
- Parameters:
team_id (str or int) – ID of the team
Example:
templates = client.permission_templates(12345)
template.id # => 1
template.role # => "Manager"
template.permissions # => ['branches_main_modify', ...]
template.description # => 'Manage project settings ...'
template.tag # => 'Full access'
template.tagColor # => 'green'
template.tagInfo # => ''
template.doesEnableAllReadOnlyLanguages # => true