Authorization

Convert user from password to oauth authentication

Changed on
post/api/v2/users/{user}/convert-login

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/users/{user}/convert-login
  • Auth
    API key in header Coder-Session-Token

Path parameters

userstring required

User ID, name, or me

Request body

passwordstring required
to_type'' | 'password' | 'github' | 'oidc' | 'token' | 'none' required

Response

Created

expires_atstring date-time
state_stringstring
to_type'' | 'password' | 'github' | 'oidc' | 'token' | 'none'
user_idstring uuid

Changes