Skip to content
Dashboard
Theme
Theme

Delete role rule

DELETE /v1/role_rules/{role_rule}: Delete role rule.

View Markdown

DELETE /v1/role_rules/{role_rule}

Scope
policies:write
Auth
Secret key (sk_…)
Since
1.0
  • role_rule string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X DELETE \
"https://api.ohauthcat.com/v1/role_rules/rrule_01J9ZQ4M7K2X8V3N5B6C1D0E9F" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"

Response 204: no body.