Delete a validation rule
Removes data validation rules configured for the specified user profile attribute.
Refer to the Registration error codes page for details on error codes.
API client permissions
The following table indicates the API clients that can and can't be used to call this operation:
owner | access_issuer | direct_access | direct_access_read | login_client |
---|---|---|---|---|
✓ | ✗ | ✗ | ✗ | ✗ |
Authentication
This operation supports both Basic authentication (recommended) and janrain-signed authentication. See Get started for more information.
Base URL
The base URL for this operation is your Identity Cloud Capture domain; for example:
https://educationcenter.us-dev.janraincapture.com
Your Capture domain (also known as a Registration domain) can be found in Console on the Manage Application page.
Examples
Example request: Remove a validation rule
This command removes the rule with the uuid 91794f2d-f8d4-4195-8104-d0fd910ff161 from the user entity type.
curl -X POST \
-H "Authorization: Basic c2dueXZ1czZwYzRqbTdraHIybmVxNWdzODlnYnIyZXE6d3Q0YzN1bjl3a2tjZnZ5a25xeDQ0eW5jNDc2YWZzNjg=" \
--data-urlencode type_name=user \
--data-urlencode uuid=91794f2d-f8d4-4195-8104-d0fd910ff161 \
https://my-app.janraincapture.com/entityType.removeRule
Example response
If your API call succeeds the response consists of the status ok:
{
"stat": "ok"
}
Parameters
All parameters need to be configured as x-www-form-urlencoded body parameters.
Parameter | Type | Required | Description |
---|---|---|---|
type_name | string | ✓ | Name of the entity type containing the validation rule. |
uuid | string | ✓ | Unique identifier of the rule you're deleting. You can return rule UUIDs by using the entityType.rules operation. |
Updated almost 2 years ago