Skip to content
Dashboard
Theme
Theme

Replace the attribute catalogue

PUT /v1/attribute_catalogue: Replace the attribute catalogue.

View Markdown

PUT /v1/attribute_catalogue

Replaces the environment’s custom definitions (at most 50) while retaining the fixed standard and predefined catalogue. Custom names use lowercase ASCII letters, digits and underscores, start with a letter, and contain at most 64 characters. Fixed standard and predefined catalogue names are reserved. Custom types are string, string_array, boolean and integer. Removing a definition removes its connection and directory mappings atomically. Custom configuration requires Business or Enterprise. Existing saved configuration remains after a downgrade; removal remains available.

Scope
environment:write
Auth
Secret key (sk_…)
Since
1.0
  • 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

  • object string Required

  • attributes array of object Required

Errors share one shape; see the error code catalogue.

curl -X PUT \
"https://api.ohauthcat.com/v1/attribute_catalogue" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"object": "attribute_catalogue",
"attributes": [
{
"name": "Acme Corp",
"type": "string",
"standard": true,
"description": "Primary SSO connection for Acme Corp."
}
]
}'
Response 200
{
"object": "attribute_catalogue",
"attributes": [
{
"name": "Acme Corp",
"type": "string",
"standard": true,
"description": "Primary SSO connection for Acme Corp."
}
]
}