cURL
curl --request PUT \ --url https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/sdk/consumer \ --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 }
SetConsumerConfig updates the SDK configuration for a B2C project environment
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Request type
Show child attributes
Successful response
Response type