Skip to content

Controls

Suspend principals, disable intents and pause execution.

The active controls, who set each, and whether the denial breaker did. sefra_viewer and above.

Setter, time and an operator’s note from the controls row; source from the latest operator.action that set the control (breaker when its actor is system), whose note is the breaker’s. Newest first, at most 1000 of each kind; truncated when a kind had more. No parameters.

Responses

Status Description Body
200 The controls. object
400 A problem. Problem (application/problem+json)
401 No valid token (with WWW-Authenticate). Problem (application/problem+json)
403 The principal is not human or lacks the role. Problem (application/problem+json)

Body of 200

Field Type Required Description
disabled_intents array of Control Yes
paused Control or null Yes
suspended_principals array of Control Yes
truncated boolean Yes

Disable an intent type. sefra_operator, sefra_admin.

Parameters

Name In Type Required Description
type path string Yes Pattern: ^[a-z0-9_]+\.[a-z0-9_]+$.

Request body

Empty, or a note.

Content type application/json, schema object.

Field Type Required Description
note string Yes At most, in characters: 2000.

Responses

Status Description Body
204 The control is in the requested state; operator.action is recorded. None
400 A problem. Problem (application/problem+json)
401 No valid token (with WWW-Authenticate). Problem (application/problem+json)
403 The principal is not human or lacks the role. Problem (application/problem+json)

Enable an intent type again. sefra_operator, sefra_admin.

Parameters

Name In Type Required Description
type path string Yes Pattern: ^[a-z0-9_]+\.[a-z0-9_]+$.

Request body

Empty, or a note.

Content type application/json, schema object.

Field Type Required Description
note string Yes At most, in characters: 2000.

Responses

Status Description Body
204 The control is in the requested state; operator.action is recorded. None
400 A problem. Problem (application/problem+json)
401 No valid token (with WWW-Authenticate). Problem (application/problem+json)
403 The principal is not human or lacks the role. Problem (application/problem+json)

Pause admission. sefra_operator, sefra_admin.

Request body

Empty, or a note.

Content type application/json, schema object.

Field Type Required Description
note string Yes At most, in characters: 2000.

Responses

Status Description Body
204 The control is in the requested state; operator.action is recorded. None
400 A problem. Problem (application/problem+json)
401 No valid token (with WWW-Authenticate). Problem (application/problem+json)
403 The principal is not human or lacks the role. Problem (application/problem+json)

Suspend a principal. sefra_operator, sefra_admin.

Parameters

Name In Type Required Description
id path string Yes Pattern: ^[A-Za-z0-9:._@-]{1,128}$.

Request body

Empty, or a note.

Content type application/json, schema object.

Field Type Required Description
note string Yes At most, in characters: 2000.

Responses

Status Description Body
204 The control is in the requested state; operator.action is recorded. None
400 A problem. Problem (application/problem+json)
401 No valid token (with WWW-Authenticate). Problem (application/problem+json)
403 The principal is not human or lacks the role. Problem (application/problem+json)

Lift a suspension. sefra_operator, sefra_admin.

Parameters

Name In Type Required Description
id path string Yes Pattern: ^[A-Za-z0-9:._@-]{1,128}$.

Request body

Empty, or a note.

Content type application/json, schema object.

Field Type Required Description
note string Yes At most, in characters: 2000.

Responses

Status Description Body
204 The control is in the requested state; operator.action is recorded. None
400 A problem. Problem (application/problem+json)
401 No valid token (with WWW-Authenticate). Problem (application/problem+json)
403 The principal is not human or lacks the role. Problem (application/problem+json)

Resume admission. sefra_operator, sefra_admin.

Request body

Empty, or a note.

Content type application/json, schema object.

Field Type Required Description
note string Yes At most, in characters: 2000.

Responses

Status Description Body
204 The control is in the requested state; operator.action is recorded. None
400 A problem. Problem (application/problem+json)
401 No valid token (with WWW-Authenticate). Problem (application/problem+json)
403 The principal is not human or lacks the role. Problem (application/problem+json)