Skip to content

Link a provider subject to an existing active Workspace user.

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

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

Links a provider subject to an existing active Workspace user.

object
Subject
string
nullable
LocalUserId
string
nullable
Examplegenerated
{
"Subject": "example",
"LocalUserId": "example"
}

OK

Media typeapplication/json
object
Data

Installation-local link between one Moltaro user and one stable external identity.

object
Id
string
nullable
ProviderConnectionId
string
nullable
LocalUserId
string
nullable
Issuer
string
nullable
Subject
string
nullable
Status
integer format: int32
Allowed values: 1 2 3 4 5
Profile

Provider-owned profile metadata. It is never an authorization input.

object
Email
string
nullable
GivenName
string
nullable
FamilyName
string
nullable
DisplayName
string
nullable
Phone
string
nullable
CreatedAtUtc
string format: date-time
LastSynchronizedAtUtc
string format: date-time
nullable
ArchivedAtUtc
string format: date-time
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
{
"Data": {
"Status": 1
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}