stages_invitation_stages_partial_update
PATCH/api/v3//stages/invitation/stages/:stage_uuid/
InvitationStage Viewset
Request
Path Parameters
stage_uuid uuidrequired
A UUID string identifying this Invitation Stage.
- application/json
Body
name string
Possible values: non-empty
flow_set
object[]
continue_flow_without_invitation boolean
If this flag is set, this Stage will jump to the next Stage when no Invitation is given. By default this Stage will cancel the Flow when no invitation is given.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
pk uuidrequired
name stringrequired
component stringrequired
Get object type so that we know how to edit the object
verbose_name stringrequired
Return object's verbose_name
verbose_name_plural stringrequired
Return object's plural verbose_name
meta_model_name stringrequired
Return internal model name
flow_set
object[]
continue_flow_without_invitation boolean
If this flag is set, this Stage will jump to the next Stage when no Invitation is given. By default this Stage will cancel the Flow when no invitation is given.
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"flow_set": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"policybindingmodel_ptr_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"slug": "string",
"title": "string",
"designation": "authentication",
"background": "string",
"policy_engine_mode": "all",
"compatibility_mode": true,
"export_url": "string",
"layout": "stacked",
"denied_action": "message_continue"
}
],
"continue_flow_without_invitation": true
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PATCH '/api/v3/stages/invitation/stages/:stage_uuid/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"name": "string",
"flow_set": [
{
"name": "string",
"slug": "string",
"title": "string",
"designation": "authentication",
"policy_engine_mode": "all",
"compatibility_mode": true,
"layout": "stacked",
"denied_action": "message_continue"
}
],
"continue_flow_without_invitation": true
}'