Skip to content
Dashboard
Theme
Theme

Replace the portal intents an organization allows

PUT /v1/organizations/{org}/allowed_intents: Replace the portal intents an organization allows.

View Markdown

PUT /v1/organizations/{org}/allowed_intents

Scope
organizations:write
Auth
Secret key (sk_…)
Since
1.0
  • org string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

  • Idempotency-Key string

    Honoured for 24 h; a replay returns the original response.

    min length 1 · max length 255

  • allowed_intents array of string Required

    max items 16

Errors share one shape; see the error code catalogue.

curl -X PUT \
"https://api.ohauthcat.com/v1/organizations/org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5/allowed_intents" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"allowed_intents": [
"sso"
]
}'
Response 200
{
"object": "organization_allowed_intents",
"organization_id": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"allowed_intents": [
"sso"
]
}