The base URL, token, API version, rate limit, and transport.
ReadonlyapiThe API version prefix applied to every request path.
ReadonlybaseThe control-plane base URL, without a trailing slash.
ReadonlyrateThe client-wide rate-limit behaviour.
Static ReadonlydefaultThe default control-plane API version prefix.
Static ReadonlydefaultThe default mxRaven control-plane base URL.
The public tenant-context family. Works with a blank token.
A client for the public authentication family.
Issues a DELETE request.
A client-relative path; the API version is prepended.
Optionaloptions: RequestOptions
Optional cancellation signal.
The decoded response.
Issues a GET request.
A client-relative path; the API version is prepended.
Optionalquery: Readonly<Record<string, string | number | boolean | undefined>>
Optional query parameters.
Optionaloptions: RequestOptions
Optional cancellation signal.
The decoded response.
Issues a GET and wraps the response in a lazily auto-paginating
Paged. Subsequent pages are fetched by re-issuing the same request
with the next page_token, only as the async iterator advances.
The element type.
A client-relative path; the API version is prepended.
Optionalquery: Readonly<Record<string, string | number | boolean | undefined>>
Optional query parameters.
Optionaloptions: RequestOptions
Optional cancellation signal.
A lazily paginating collection over the response items.
Issues a POST request with a JSON body.
A client-relative path; the API version is prepended.
The request body, serialized as JSON.
Optionaloptions: RequestOptions
Optional cancellation signal.
The decoded response.
Issues a PUT request with a JSON body.
A client-relative path; the API version is prepended.
The request body, serialized as JSON.
Optionaloptions: RequestOptions
Optional cancellation signal.
The decoded response.
Sends a request to the control plane.
A non-success status is decoded as an RFC 9457 problem and thrown as an
ApiException. GET and DELETE requests are retried on 429 according to
AdminClient.rateLimit; POST and PUT are not.
The HTTP method.
A client-relative path; the API version is prepended.
Optionalquery: Readonly<Record<string, string | number | boolean | undefined>>
Optional query parameters.
Optionalbody: unknown
The request body, serialized as JSON, or undefined for none.
Optional cancellation signal.
The decoded response.
Client for the mxRaven control-plane v2 REST API.
Construct one with a ZITADEL-issued bearer access token, then reach resource families through a Workspace. Public operations, such as the tenant login context, work with a blank token.
The client is safe for concurrent use. Every network operation accepts an
AbortSignalso callers can cancel it.Example