Claude Platform Docs

Elimina gruppo RBAC

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

Elimina un gruppo RBAC. I gruppi forniti da un provider di identità (tipo di origine "scim") non possono essere eliminati tramite l'API mentre un'organizzazione nel tenant usa il provisioning SCIM.

L'API dei gruppi RBAC è disponibile solo per le organizzazioni 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.

Elimina gruppo 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"
}