My account

Update the access token for a social identity by verification ID

Changed on

This API updates the token storage for a social identity by a given social verification ID. It is used to fetch a new access token from the social provider and store it securely in Logto.

put/api/my-account/identities/{target}/access-token

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/my-account/identities/{target}/access-token
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

targetstring required

Request body

verificationRecordIdstring required

Response

The token storage was updated successfully. The new access token is returned in the response body.

access_tokenstring required
token_typestring

Changes

    • breaking

      response property scope list-of-types was widened by adding types array to media type application/json of response 200