Partially updates verification settings. Only provided fields change.
Request
Bearer <API_KEY> from Console > Developers > Workspace API Keys.
Path parameters
Client identifier of the app.
Request body
Customer-facing verification mode (e.g., identity).
Standard attributes requested from the user.
Provider definitions:[
{ "provider_id": "smartid", "enabled": true, "provider_specific_attributes": ["personal_code"] }
]
Response
Returns the updated verification settings.
curl -X PATCH \
-H "Authorization: Bearer sk_workspace_test_..." \
-H "Content-Type: application/json" \
-d '{"request_attributes":["name","birthdate"],"providers":[{"provider_id":"smartid","enabled":true,"provider_specific_attributes":["personal_code"]}]}' \
"https://sandbox.api.hopae.com/connect/v1/apps/abc123/verification"
{
"verification_type": "identity",
"request_attributes": ["name", "birthdate"],
"providers": [
{ "provider_id": "smartid", "enabled": true, "provider_specific_attributes": ["personal_code"] }
]
}
Validation: request_attributes must come from the standard catalog (name, given_name, family_name, birthdate, email, phone_number, address, nationality, document_type, document_number, issuing_authority, sub, picture, preferred_username). provider_specific_attributes must not overlap with standard attributes and must be supported by the provider.