Add a user identity
Add an identity (social identity) to the user, a logto-verification-id in header is required for checking sensitive permissions, and a verification record for the social identity is required.
Body Required
-
The identifier verification record ID for the new social identity ownership verification.
POST
/api/my-account/identities
curl \
--request POST https://[tenant_id].logto.app/api/my-account/identities \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"newIdentifierVerificationRecordId":"string"}'
Request examples
{
"newIdentifierVerificationRecordId": "string"
}