ZITADEL Docs
APIsCore ResourcesV2User

AddIDPLink

Add link to an identity provider to an user

Add link to an identity provider to an user..

POST
/v2/users/{user_id}/links

Path Parameters

user_id*string

Request Body

application/json

idpLink?
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/v2/users/string/links" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "changeDate": "1s",
    "resourceOwner": "string",
    "creationDate": "1s"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?