Skip to content

Convert a member from local auth to SSO

POST
/api/v1/tenants/{tenantId}/members/{userId}/auth-method
curl --request POST \
--url https://app.avera.io/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/auth-method

Moves 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.

tenantId
required
string format: uuid
userId
required
string format: uuid

OK

Media type*/*
object
userId
required
string format: uuid
email
required
string
authMethod
required
string
connectionId
required
string format: uuid
connectionName
required
string