Environment

Updates the environment.

patch/pwa/v3/projects/:project_slug/environments/:environment_slug

Request

  • Base URL
    https://management.stytch.com
  • Auth
    HTTP basic

Path parameters

project_slugstring required
environment_slugstring required

Request body

namestring
cross_org_passwords_enabledboolean
user_impersonation_enabledboolean
zero_downtime_session_migration_urlstring
use_custom_domain_in_magic_link_emailsboolean
user_lock_self_serve_enabledboolean
user_lock_thresholdinteger
user_lock_ttlinteger
idp_authorization_urlstring
idp_dynamic_client_registration_enabledboolean
idp_dynamic_client_registration_access_token_template_contentstring

Response

Successful response

request_idstring required
status_codeinteger required

Changes

    • info

      added the new optional request property

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status