Create RBAC Client
Provision a new RBAC client (end user) for an endpoint. The client can then authenticate using whichever credential type you supply: username + password, bearer token, or OAuth identity (matched on the next OAuth login). Default roles configured on the endpoint are auto-assigned to the new client.
Credential methods are gated by the endpoint's enabled auth methods: passing a password when password auth is disabled returns 400. Set auto_generate_token: true instead of supplying a token to have the platform mint a secure random token — returned once in the response.
Plan-gated: requires the endpoint RBAC entitlement on your plan. Identifier collisions across email, username, or OAuth identity return 409.
Path parameters
uuid from /endpoints.Request body
password.UsernamePassword auth method to be enabled.token.{provider, subject}. Requires the endpoint's OAuth/SSO auth method to be enabled. Use when migrating an existing OAuth user from another system.active (default when empty) | invited | disabled | revoked.admin. Internal callers can set self, invite, or sso.Response (200 OK)
The created client (same shape as a list entry) plus, when auto_generate_token: true:
et_ followed by 64 hex characters. Show once, store securely; not retrievable later. Only present when a token was auto-generated.Deprecated: until the sunset this response also carries the legacy integer id and *_id fields. Don't use them; read uuid and the *_uuid fields.
Endpoint-default roles, if any, are auto-assigned to the new client; query /rbac/memberships to see them (they are not embedded in this response).
Errors
identifier, invalid status, or a credential for a sign-in method the endpoint has off in its enabled_auth_methods: bearer token authentication is not enabled for this endpoint (token or auto_generate_token), username/password authentication is not enabled for this endpoint, OAuth/SSO authentication is not enabled for this endpoint (identities).endpoints:write, or the plan doesn't include the rbac entitlement ("RBAC is not available on your current plan").email, username, or OAuth identity already exists on this endpoint).