조직 역할에 대한 REST API 엔드포인트
REST API를 사용하여 조직 역할과 상호 작용합니다.
Get all organization roles for an organization
Lists the organization roles available in this organization. For more information on organization roles, see "Using organization roles."
To use this endpoint, the authenticated user must be one of:
- An administrator for the organization.
- An organization member (or a member of a team) assigned a custom organization role that includes the View organization roles (
read_organization_custom_org_role) permission. For more information, see "Permissions for organization access."
OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
"Get all organization roles for an organization"에 대한 세분화된 액세스 토큰
이 엔드포인트는 다음 세분화된 토큰 형식에서 작동합니다.:
세분화된 토큰은 필수 권한 집합을 포함해야 합니다.:
- "Custom organization roles" organization permissions (read)
"Get all organization roles for an organization"에 대한 매개 변수
| 이름, 유형, 설명 |
|---|
accept string Setting to |
| 이름, 유형, 설명 |
|---|
org string 필수The organization name. The name is not case sensitive. |
"Get all organization roles for an organization"에 대한 HTTP 응답 상태 코드
| 상태 코드 | 설명 |
|---|---|
200 | Response - list of organization roles |
404 | Resource not found |
422 | Validation failed, or the endpoint has been spammed. |