PUT
/
auth
/
tenants
/
{id}
curl --request PUT \
  --url https://api.pxyz.dev/api/v0/auth/tenants/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "signUpEnabled": true,
  "signInEnabled": true,
  "strategyUsernamePasswordEnabled": true,
  "strategyEmailPasswordEnabled": true,
  "strategyEmailLinkEnabled": true,
  "strategyEmailCodeEnabled": true,
  "strategyPhoneCodeEnabled": true,
  "strategyPhonePasswordEnabled": true,
  "strategyOAuthEnabled": true,
  "strategyAuthenticatorCodeEnabled": true,
  "strategySecurityKeyEnabled": true,
  "passwordsEnabled": true,
  "emailSignInEnabled": true,
  "phoneSignInEnabled": true,
  "usernameSignInEnabled": true,
  "nameRequired": true,
  "emailRequired": true,
  "phoneRequired": true,
  "usernameRequired": true,
  "passwordRequired": true,
  "emailVerificationRequired": true,
  "phoneVerificationRequired": true,
  "emailVerificationCodeEnabled": true,
  "emailVerificationLinkEnabled": true,
  "phoneVerificationCodeEnabled": true,
  "sessionMaximumLifetimeEnabled": true,
  "sessionMaximumLifetime": 123,
  "sessionInactivityTimeoutEnabled": true,
  "sessionInactivityTimeout": 123,
  "organizationsEnabled": true,
  "organizationMembershipLimit": 123,
  "organizationAdminDeletingEnabled": true,
  "organizationCustomDomainManagementEnabled": true,
  "organizationAutomaticInvitationEnabled": true,
  "organizationAutomaticInvitationSuggestionsEnabled": true,
  "homeUri": "<string>",
  "frontendApiUri": "<string>",
  "signUpUri": "<string>",
  "signInRedirectUri": "<string>",
  "signInUri": "<string>",
  "signUpRedirectUri": "<string>",
  "logoutRedirectUri": "<string>",
  "userSettingsUri": "<string>",
  "organizationSettingsUri": "<string>",
  "createOrganizationUri": "<string>",
  "createOrganizationRedirectUri": "<string>",
  "emailChannelId": "<string>",
  "smsChannelId": "<string>",
  "codeVerificationEmailTemplateId": "<string>",
  "codeVerificationSMSMessageTemplateId": "<string>",
  "magicLinkEmailTemplateId": "<string>",
  "magicLinkSMSMessageTemplateId": "<string>",
  "welcomeEmailTemplateId": "<string>",
  "welcomeSMSMessageTemplateId": "<string>"
}'
"<any>"

Path Parameters

id
string
required

Body

application/json
signUpEnabled
boolean
signInEnabled
boolean
strategyUsernamePasswordEnabled
boolean
strategyEmailPasswordEnabled
boolean
strategyEmailLinkEnabled
boolean
strategyEmailCodeEnabled
boolean
strategyPhoneCodeEnabled
boolean
strategyPhonePasswordEnabled
boolean
strategyOAuthEnabled
boolean
strategyAuthenticatorCodeEnabled
boolean
strategySecurityKeyEnabled
boolean
passwordsEnabled
boolean
emailSignInEnabled
boolean
phoneSignInEnabled
boolean
usernameSignInEnabled
boolean
nameRequired
boolean
emailRequired
boolean
phoneRequired
boolean
usernameRequired
boolean
passwordRequired
boolean
emailVerificationRequired
boolean
phoneVerificationRequired
boolean
emailVerificationCodeEnabled
boolean
emailVerificationLinkEnabled
boolean
phoneVerificationCodeEnabled
boolean
sessionMaximumLifetimeEnabled
boolean
sessionMaximumLifetime
integer
sessionInactivityTimeoutEnabled
boolean
sessionInactivityTimeout
integer
organizationsEnabled
boolean
organizationMembershipLimit
integer
organizationAdminDeletingEnabled
boolean
organizationCustomDomainManagementEnabled
boolean
organizationAutomaticInvitationEnabled
boolean
organizationAutomaticInvitationSuggestionsEnabled
boolean
homeUri
string
frontendApiUri
string
signUpUri
string
signInRedirectUri
string
signInUri
string
signUpRedirectUri
string
logoutRedirectUri
string
userSettingsUri
string
organizationSettingsUri
string
createOrganizationUri
string
createOrganizationRedirectUri
string
emailChannelId
string | null
smsChannelId
string | null
codeVerificationEmailTemplateId
string | null
codeVerificationSMSMessageTemplateId
string | null
magicLinkEmailTemplateId
string | null
magicLinkSMSMessageTemplateId
string | null
welcomeEmailTemplateId
string | null
welcomeSMSMessageTemplateId
string | null

Response

200 - application/json

The response is of type any.