providers_microsoft_entra_users_create
POST/providers/microsoft_entra_users/
MicrosoftEntraProviderUser Viewset
Request
- application/json
Body
required
microsoft_id stringrequired
Possible values: non-empty
user integerrequired
provider integerrequired
Responses
- 201
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
id uuidrequired
microsoft_id stringrequired
user integerrequired
user_obj
object
required
Stripped down user serializer to show relevant users for groups
pk ID (integer)required
username stringrequired
Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
Possible values: <= 150 characters
, Value must match regular expression ^[\w.@+-]+$
name stringrequired
User's display name.
is_active Active (boolean)
Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
last_login date-timenullable
email email
Possible values: <= 254 characters
attributes object
uid stringrequired
provider integerrequired
attributes required
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"microsoft_id": "string",
"user": 0,
"provider": 0
}
- 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"
}
Loading...