Delete a Flow assignment.
DELETE
/api/admin/flow-assignments
Code sample: Shell / cURL
curl --request DELETE \ --url https://auth.example.com/api/admin/flow-assignments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "target_type": "oidc_client", "target_id": "client_123", "flow_kind": "login" }'Removes the Flow assignment for a tenant default, OIDC client, or SAML SP and Flow kind. Removing a client or SP assignment allows the runtime to fall back to a broader assignment.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
target_type
required
string
target_id
string | null
flow_kind
required
Built-in Flow kind or a custom kind prefixed with custom:.
string
key
additional properties
Example
{ "target_type": "oidc_client", "target_id": "client_123", "flow_kind": "login"}Responses
Section titled “ Responses ”Flow assignment mutation response.
Media type application/json
object
success
required
boolean
key
additional properties
Example
{ "success": true}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}