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 \
--request PUT https://[tenant_id].logto.app/api/users/{userId}/identities/{target} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"userId":"string","details":{}}'
Request examples
{
"userId": "string",
"details": {}
}
Response examples (200)
{
"userId": "string",
"details": {}
}
Response examples (201)
{
"userId": "string",
"details": {}
}