Delete a Validation Rule

Endpoint URL: {registrationDomain} /entityType.removeRule


Removes any data validations configured for the specified user profile attribute.

Refer to the Registration Error Codes section for details on error codes.

This method includes the following endpoints:

  • POST


POST

API Client Permissions

The following table indicates the API clients that can (and the API clients that can't) be used to call this endpoint:

owner
access_issuer
direct_access
direct_read_access
login_client
Yes
No
No
No
No


Authentication

This endpoint supports both Basic authentication (recommended) and janrain-signed authentication.

How to Create an Authentication String


Base URL

The base URL for this endpoint is your Identity Cloud Capture domain; for example:

https://educationcenter.us- dev.janraincapture.com

Your Capture domains (also known as Registration domains) can be found in the Console on the Manage Application page:

Examples

Example Request

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
       

      Running this command in Postman


Example Response


{
  "stat": "ok"
}        
                                                    


Query Parameters

ParameterTypeRequiredDescription
type_namestringYesName of the entityType.
 
uuidstringYesUUID assigned to the rule to be deleted. You can return rule UUIDs by using the entityType.rules endpoint.