curl --request PATCH \
--url https://test.didxtech.com/consumer-onboarding/api/users/{username}/idp-link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'{
"data": {
"username": "johndoe",
"idpAlias": "acme-idp",
"linked": true
},
"links": {
"self": "<string>",
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>",
"related": "<string>"
},
"meta": {},
"errors": [
{
"detail": "<string>",
"id": "<string>",
"status": "<string>",
"code": "<string>",
"title": "<string>",
"source": {
"pointer": "<string>",
"parameter": "<string>"
},
"meta": {}
}
]
}Creates or removes a Keycloak federated identity link between the user and the tenant IDP. Fully idempotent.
curl --request PATCH \
--url https://test.didxtech.com/consumer-onboarding/api/users/{username}/idp-link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'{
"data": {
"username": "johndoe",
"idpAlias": "acme-idp",
"linked": true
},
"links": {
"self": "<string>",
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>",
"related": "<string>"
},
"meta": {},
"errors": [
{
"detail": "<string>",
"id": "<string>",
"status": "<string>",
"code": "<string>",
"title": "<string>",
"source": {
"pointer": "<string>",
"parameter": "<string>"
},
"meta": {}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Enable or disable a federated identity link for a user.