{
"description": "A standard CVV card number",
"entries": [
{
"enabled": true,
"id": "719d1215-260f-41d0-8c32-eb320ad107f7",
"name": "Credit card (Visa)",
"pattern": {
"regex": "^4[0-9]{6,}$",
"validation": "luhn"
},
"profile_id": null
}
],
"name": "Generic CVV Card Number"
}
curl --location --request PUT 'https://api.cloudflare.com/client/v4/accounts//dlp/profiles/custom/' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "A standard CVV card number",
"entries": [
{
"enabled": true,
"id": "719d1215-260f-41d0-8c32-eb320ad107f7",
"name": "Credit card (Visa)",
"pattern": {
"regex": "^4[0-9]{6,}$",
"validation": "luhn"
},
"profile_id": null
}
],
"name": "Generic CVV Card Number"
}'
{
"created_at": "2014-01-01T05:20:00.12345Z",
"description": "A standard CVV card number",
"entries": [
{
"created_at": "2014-01-01T05:20:00.12345Z",
"enabled": true,
"id": "719d1215-260f-41d0-8c32-eb320ad107f7",
"name": "Credit card (Visa)",
"pattern": {
"regex": "^4[0-9]{6,}$",
"validation": "luhn"
},
"profile_id": null,
"updated_at": "2014-01-01T05:20:00.12345Z"
}
],
"id": "384e129d-25bd-403c-8019-bc19eb7a8a5f",
"name": "Generic CVV Card Number",
"type": "custom",
"updated_at": "2014-01-01T05:20:00.12345Z"
}