Skip to content

Update tenant organization

PATCH
/tenants
curl --request PATCH \
--url https://api.muninx.com/tenants \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "allowed-domains": [ "example" ], "blocked-domains": [ "example" ], "customer-access-type": "open", "display-name": "example", "owner": "example", "plan": "example", "reply-identity": "agent", "slug": "example", "stripe-id": "example" }'

Partially updates settings for the authenticated tenant’s Muninx workspace. Tenant admins can update the mutable routing slug, workspace display name, customer access policy, allowed and blocked domains, owner, and reply identity. Slugs are normalized and must be unique; duplicate slugs return 409. Billing plan and Stripe customer ID are service-only fields.

Updates

Media type application/json
object
allowed-domains

Domains allowed when customer access is restricted.

Array<string>
blocked-domains

Domains blocked from customer access.

Array<string>
customer-access-type

Customer signup policy: open, closed, or restricted.

string
Allowed values: open closed restricted
display-name

Workspace display name.

string
owner

Admin email that owns the workspace.

string
plan

Billing plan. Service users only.

string
reply-identity

Identity shown on agent replies.

string
Allowed values: agent organization
slug
string
stripe-id

Stripe customer ID. Service users only.

string

Org updated

Media type application/json
string
Example generated
example

Problem+json

Media type application/json
object
key
additional properties
any
Example generated
{}

Problem+json

Media type application/json
object
key
additional properties
any
Example generated
{}

Problem+json

Media type application/json
object
key
additional properties
any
Example generated
{}

Problem+json

Media type application/json
object
key
additional properties
any
Example generated
{}

Problem+json

Media type application/json
object
key
additional properties
any
Example generated
{}