/policyengine/v1/regex: DELETE
Deletes the regular expression with value from the Data Cataloging system.
The table shows the roles that can perform delete operation on the endpoint:
Data admin | Data user | Collection Admin | Admin | Service user |
---|---|---|---|---|
✓ | X | X | X | X |
Synopsis of the request URL
curl -k -s -o response.txt -H "Authorization: Bearer ${TOKEN}" https://${SDHOST}/policyengine/v1/regex/$REGEX_NAME -X DELETE
Supported request types and response formats
Supported request types:
- DELETE
- JSON
Examples
The following example shows how to delete a regular expression record.
Issue the following delete request:
curl -k -s -o response.txt -H "Authorization: Bearer ${TOKEN}" https://${SDHOST}/policyengine/v1/regex/US-SSN-blank-delimited -X DELETE
The following response is returned:
204(No Content)
Note: When you perform DELETE operation, the resource gets deleted successfully but there is no
response message in the output.