Skip to content

Create an active passwordless Workspace user and link a freshly read provider subject.

POST
/api/workspace/admin/external-identity/users
curl --request POST \
--url https://example.com/api/workspace/admin/external-identity/users \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "Subject": "example", "UserName": "example", "RoleIds": [ "example" ] }'
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

Creates a passwordless Workspace user and links a provider subject.

object
Subject
string
nullable
UserName
string
nullable
RoleIds
Array<string>
nullable
Examplegenerated
{
"Subject": "example",
"UserName": "example",
"RoleIds": [
"example"
]
}

OK

Media typeapplication/json
object
Data
string
nullable
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}