My account
Update the access token for a social identity by verification ID
Changed onThis 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
Response
The token storage was updated successfully. The new access token is returned in the response body.
Changes
- breaking
response property
scopelist-of-types was widened by adding typesarrayto media typeapplication/jsonof response200
- breaking