Claude Platform Docs

RBAC-Gruppe löschen

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

Löscht eine RBAC-Gruppe. Von einem Identitätsanbieter bereitgestellte Gruppen (Quelltyp "scim") können nicht über die API gelöscht werden, solange eine Organisation im Tenant SCIM-Provisionierung verwendet.

Die RBAC Groups API ist nur für Claude Enterprise-Organisationen verfügbar.

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.

RBAC-Gruppe löschen
<?php

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

use Anthropic\Client;

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

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

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