sources_user_connections_all_partial_update
PATCH/sources/user_connections/all/:id/
User-source connection Viewset
Request
Path Parameters
A unique integer value identifying this user source connection.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
source
object
required
Source Serializer
Source's display Name.
Possible values: <= 50 characters
, Value must match regular expression ^[-a-zA-Z0-9_]+$
Internal source name, used in URLs.
Flow to use when authenticating existing users.
Flow to use when enrolling new users.
Get object component so that we know how to edit the object
Return object's verbose_name
Return object's plural verbose_name
Return internal model name
Possible values: [all
, any
]
Possible values: [identifier
, email_link
, email_deny
, username_link
, username_deny
]
How the source determines if an existing user should be authenticated or a new user enrolled.
Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
Get the URL to the Icon. If the name is /static or starts with http it is returned as-is
{
"pk": 0,
"user": 0,
"source": {
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"slug": "string",
"enabled": true,
"authentication_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"enrollment_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"policy_engine_mode": "all",
"user_matching_mode": "identifier",
"managed": "string",
"user_path_template": "string",
"icon": "string"
},
"created": "2024-09-27T14:26:18.793Z"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "string",
"code": "string"
}