Update social identity of user
Directly update a social identity of the user.
Path parameters
-
The unique identifier of the user.
PUT /api/users/{userId}/identities/{target}
curl \
-X PUT https://[tenant_id].logto.app/api/users/{userId}/identities/{target} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"userId":"string","details":{}}'
Request examples
{
"userId": "string",
"details": {}
}
Response examples (200)
{
"userId": "string",
"details": {}
}
Response examples (201)
{
"userId": "string",
"details": {}
}