latestSwagger 2.02026-08-1095121164.0 KB
94758829689e
organizations
Create Organization Workflow
Creates a new workflow for an organization (e.g., add/remove user). Returns the workflow ID for status polling.
post/v0/organizations/{org_id}/workflows
Path parameters
org_idstring required
Organization UUID
Request body
Example request
{
"params": {
"role": "team_member",
"user_email": "user@example.com"
},
"type": "add_organization_user_membership"
}Response
Example response
{
"created_at": 1234567890,
"id": "12345678-90ab-cdef-1234-567890abcdef",
"type": "add_organization_user_membership"
}