Claude Platform Docs

Hapus Grup RBAC

$client->organization->rbacGroups->delete(string rbacGroupID): DeletedRBACGroup
DELETE/v1/organizations/rbac_groups/{rbac_group_id}

Menghapus Grup RBAC. Grup yang disediakan oleh penyedia identitas (tipe sumber "scim") tidak dapat dihapus melalui API selama ada organisasi di tenant yang menggunakan provisioning SCIM.

RBAC Groups API hanya tersedia untuk organisasi Claude Enterprise.

Parameters
rbacGroupID: string⁠Path parameter

ID of the RBAC Group.

Returns
class DeletedRBACGroup { $type = 'rbac_group_deleted'; $id; }
"rbac_group_deleted" type

Deleted object type.

For RBAC Groups, this is always "rbac_group_deleted".

string id

ID of the RBAC Group.

Hapus Grup RBAC
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Anthropic\Client;

$client = new Client(apiKey: 'my-anthropic-api-key');

$deletedRBACGroup = $client->organization->rbacGroups->delete('rbac_group_id');

var_dump($deletedRBACGroup);
Returns Examples
Response 200
{
  "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
  "type": "rbac_group_deleted"
}