Add link to an identity provider to an user | ZITADEL Docs

Add link to an identity provider to an user

Add link to an identity provider to an user..

POST

/`v2`/`users`/`{user_id}`/`links

Send

Path

Body

Path Parameters

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Copy

Response Body

200 application/json

cURL

curl -X POST "https://example.com/v2/users/string/links" \
  -H "Content-Type: application/json" \
  -d '{}'```

### 200

```json
{
  "details": {
    "sequence": 0,
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string",
    "creationDate": "2023-01-15T01:30:15.01Z"
  }
}```