clerk.create_organization
ActiveTool of Vee3
declared in 1.27.1
Create a new organization in a connected Clerk application. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. Returns the new organization summary. Cost = 10 tokens.
Parameters schema
{
"type": "object",
"title": "create_clerk_organizationArguments",
"required": [
"name",
"created_by"
],
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "Organization display name."
},
"slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Slug",
"default": null,
"description": "Optional URL-friendly slug for the organization."
},
"created_by": {
"type": "string",
"title": "Created By",
"description": "Clerk user id (user_...) of the user creating the organization."
},
"public_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Public Metadata",
"default": null,
"description": "Optional public metadata as a JSON object."
},
"private_metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Private Metadata",
"default": null,
"description": "Optional private metadata as a JSON object."
},
"clerk_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Clerk Instance Id",
"default": null,
"description": "Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account."
},
"max_allowed_memberships": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Allowed Memberships",
"default": null,
"description": "Optional maximum number of memberships allowed."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries