Skip to content
Dashboard
Theme
Theme

Replace an unfinished-setup portal profile

PUT /v1/portal_profiles/{profile}: Replace an unfinished-setup portal profile.

View Markdown

PUT /v1/portal_profiles/{profile}

Scope
environment:write
Auth
Secret key (sk_…)
Since
1.0
  • profile string Required

  • name string Required

    Trimmed name limited to 200 UTF-8 bytes.

    min length 1 · max length 200

  • allowed_idps array of string Required

    min items 1

  • allowed_features array of string Required

    min items 1 · max items 2

  • required_attributes array of string Required

Errors share one shape; see the error code catalogue.

curl -X PUT \
"https://api.ohauthcat.com/v1/portal_profiles/pprof_01J9ZQ4M7K2X8V3N5B6C1D0E9F" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Corp",
"allowed_idps": [
"okta"
],
"allowed_features": [
"sso"
],
"required_attributes": [
"department"
]
}'
Response 200
{
"name": "Acme Corp",
"allowed_idps": [
"okta"
],
"allowed_features": [
"sso"
],
"required_attributes": [
"department"
],
"id": "pprof_01J9ZQ4M7K2X8V3N5B6C1D0E9F",
"object": "portal_profile",
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
}