mirror of
https://github.com/LukeHagar/clerk-sdk-java.git
synced 2025-12-06 04:19:25 +00:00
5.1 KiB
5.1 KiB
CreateOrganizationRequestBody
Fields
| Field | Type | Required | Description |
|---|---|---|---|
name |
String | ✔️ | The name of the new organization |
createdBy |
String | ✔️ | The ID of the User who will become the administrator for the new organization |
privateMetadata |
Optional<? extends com.clerk.backend_api.models.operations.CreateOrganizationPrivateMetadata> | ➖ | Metadata saved on the organization, accessible only from the Backend API |
publicMetadata |
Optional<? extends com.clerk.backend_api.models.operations.CreateOrganizationPublicMetadata> | ➖ | Metadata saved on the organization, read-only from the Frontend API and fully accessible (read/write) from the Backend API |
slug |
Optional<? extends String> | ➖ | A slug for the new organization. Can contain only lowercase alphanumeric characters and the dash "-". Must be unique for the instance. |
maxAllowedMemberships |
Optional<? extends Long> | ➖ | The maximum number of memberships allowed for this organization |