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 \
-X POST https://[tenant_id].logto.app/api/my-account/identities \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"newIdentifierVerificationRecordId":"string"}'
Request examples
{
"newIdentifierVerificationRecordId": "string"
}