Convert a member from local auth to SSO
POST
/api/v1/tenants/{tenantId}/members/{userId}/auth-method
const url = 'https://app.avera.io/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/auth-method';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.avera.io/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/auth-methodMoves a member off their password onto the tenant’s identity provider connection. This repairs the gap federating identity leaves behind: members who existed before the connection are still on a password, and once the connection is enabled the sign-in page stops offering them the password form.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”tenantId
required
string format: uuid
userId
required
string format: uuid
Responses
Section titled “Responses”OK
Media type*/*
object
userId
required
string format: uuid
email
required
string
authMethod
required
string
connectionId
required
string format: uuid
connectionName
required
string