RBAC 역할 조회
GET/v1/organizations/rbac_roles/{rbac_role_id}
ID로 RBAC 역할을 조회합니다.
RBAC 역할 API는 Claude Enterprise 조직에서만 사용할 수 있습니다.
Parameters
Returns
RBAC 역할 조회
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Anthropic\Client;
$client = new Client(apiKey: 'my-anthropic-api-key');
$betaRBACRole = $client->beta->organization->rbacRoles->retrieve(
'rbac_role_id'
);
var_dump($betaRBACRole);Response 200
{
"id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "Project Editor",
"type": "rbac_role",
"updated_at": "2024-10-30T23:58:27.427722Z"
}Returns Examples
Response 200
{
"id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "Project Editor",
"type": "rbac_role",
"updated_at": "2024-10-30T23:58:27.427722Z"
}