Add RBAC Group Member

Changed on

Add a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type "scim") cannot be modified via the API while an organization in the tenant uses SCIM provisioning.

The RBAC Groups API is available to Claude Enterprise organizations only.

post/v1/organizations/rbac_groups/{rbac_group_id}/members

Request

  • Base URL
    https://api.anthropic.com
  • Auth
    none declared

Path parameters

rbac_group_idstring required

ID of the RBAC Group.

Headers

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

Request body

user_idstring required

ID of the User.

Example request

{
  "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
}

Response

Successful Response

created_atstring date-time required

RFC 3339 timestamp of when the User was added to the RBAC Group.

emailstring required

Email of the User.

rbac_group_idstring required

ID of the RBAC Group.

type'rbac_group_member' required

Object type.

For RBAC Group Members, this is always "rbac_group_member".

user_idstring required

ID of the User.

Example response

{
  "created_at": "2024-10-30T23:58:27.427722Z",
  "email": "user@emaildomain.com",
  "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
  "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
}

Changes