Environment

Creates a new environment in a project.

post/pwa/v3/projects/:project_slug/environments

Request

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

Path parameters

project_slugstring required

Request body

namestring required
type'LIVE' | 'TEST'
environment_slugstring
cross_org_passwords_enabledboolean
user_impersonation_enabledboolean
zero_downtime_session_migration_urlstring
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 required property / to the response with the status

    • info

      added the required property / to the response with the status