RBAC 역할 권한 목록 조회
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions
RBAC 역할이 부여하는 권한 목록을 조회합니다.
RBAC 역할 API는 Claude Enterprise 조직에서만 사용할 수 있습니다.
Parameters
Returns
RBAC 역할 권한 목록 조회
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.organization.rbacroles.permissions.PermissionListPage;
import com.anthropic.models.beta.organization.rbacroles.permissions.PermissionListParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
PermissionListPage page = client.beta().organization().rbacRoles().permissions().list("rbac_role_id");
}
}Response 200
{
"data": [
{
"action": "use",
"resource": {
"organization_id": "3c4f5e6d-7a8b-49c0-9d1e-2f3a4b5c6d7e",
"type": "organization"
},
"type": "rbac_role_permission"
}
],
"has_more": true,
"next_page": "eyJjdXJzb3IiOiAicmJhY19yb2xlXzAxIn0"
}Returns Examples
Response 200
{
"data": [
{
"action": "use",
"resource": {
"organization_id": "3c4f5e6d-7a8b-49c0-9d1e-2f3a4b5c6d7e",
"type": "organization"
},
"type": "rbac_role_permission"
}
],
"has_more": true,
"next_page": "eyJjdXJzb3IiOiAicmJhY19yb2xlXzAxIn0"
}