Set a method as the account's primary
Changed onPromotes the given method to the account's primary sign-in method. The account's canonical email is re-derived from the promoted method's identity. Refused for password stubs and converted anonymous methods, and for an identity whose domain is outside the project's allowed_email_domains.
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/auth/user/methods/{methodId}/promote
- Auth: HTTP bearer
Path parameters
The method ID to promote
Response
The promoted method
Example response
{
"provider": "google"
}Changes
- ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status
- ▲
- ▲
the response's body type changed from
objectto no type for status - ▲
the response's body type changed from
objectto no type for status - ▲
the response's body type changed from
objectto no type for status - ▲
the response's body type changed from
objectto no type for status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ○
added the non-success response with the status
- ▲