Skip to main content
PUT
/
pwa
/
v3
/
projects
/
:project_slug
/
environments
/
:environment_slug
/
sdk
/
b2b
Setb2Bconfig
curl --request PUT \
  --url https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/sdk/b2b \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {
    "dfppa": {
      "enabled": "ENABLED",
      "on_challenge": "ALLOW"
    }
  }
}
'
{
  "request_id": "<string>",
  "config": {
    "dfppa": {
      "enabled": "ENABLED",
      "on_challenge": "ALLOW"
    }
  },
  "status_code": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

project_slug
string
required
environment_slug
string
required

Body

application/json

Request type

config
object

Response

Successful response

Response type

request_id
string
required
config
object
required
status_code
integer<int32>
required