Authentication
Connections
Data Masking Rules
AWS
Guard Rails
Server Management
Jira
Organization Management
Plugins
Reports
User Management
Sessions
Session
Data Masking Rules
Update Data Masking Rule
Update Data Masking Rule
PUT
/
datamasking-rules
/
{id}
Copy
Ask AI
curl --request PUT \
--url https://use.hoop.dev/api/datamasking-rules/{id} \
--header 'Content-Type: application/json' \
--data '{
"connection_ids": [
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D8"
],
"custom_entity_types": [
{
"deny_list": [
"Mr",
"Mr.",
"Mister"
],
"name": "ZIP_CODE",
"regex": "\\b\\d{5}(?:-\\d{4})?\\b",
"score": 0.01
}
],
"description": "Mask email addresses in the data",
"name": "mask-email",
"supported_entity_types": [
{
"entity_types": [
"EMAIL_ADDRESS",
"PERSON",
"PHONE_NUMBER",
"IP_ADDRESS"
],
"name": "PII"
}
]
}'
Copy
Ask AI
{
"connection_ids": [
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D8"
],
"custom_entity_types": [
{
"deny_list": [
"Mr",
"Mr.",
"Mister"
],
"name": "ZIP_CODE",
"regex": "\\b\\d{5}(?:-\\d{4})?\\b",
"score": 0.01
}
],
"description": "Mask email addresses in the data",
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"name": "mask-email",
"supported_entity_types": [
{
"entity_types": [
"EMAIL_ADDRESS",
"PERSON",
"PHONE_NUMBER",
"IP_ADDRESS"
],
"name": "PII"
}
],
"updated_at": "2023-08-15T14:30:45Z"
}
Body
application/json
The request body resource
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
Copy
Ask AI
curl --request PUT \
--url https://use.hoop.dev/api/datamasking-rules/{id} \
--header 'Content-Type: application/json' \
--data '{
"connection_ids": [
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D8"
],
"custom_entity_types": [
{
"deny_list": [
"Mr",
"Mr.",
"Mister"
],
"name": "ZIP_CODE",
"regex": "\\b\\d{5}(?:-\\d{4})?\\b",
"score": 0.01
}
],
"description": "Mask email addresses in the data",
"name": "mask-email",
"supported_entity_types": [
{
"entity_types": [
"EMAIL_ADDRESS",
"PERSON",
"PHONE_NUMBER",
"IP_ADDRESS"
],
"name": "PII"
}
]
}'
Copy
Ask AI
{
"connection_ids": [
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D8"
],
"custom_entity_types": [
{
"deny_list": [
"Mr",
"Mr.",
"Mister"
],
"name": "ZIP_CODE",
"regex": "\\b\\d{5}(?:-\\d{4})?\\b",
"score": 0.01
}
],
"description": "Mask email addresses in the data",
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"name": "mask-email",
"supported_entity_types": [
{
"entity_types": [
"EMAIL_ADDRESS",
"PERSON",
"PHONE_NUMBER",
"IP_ADDRESS"
],
"name": "PII"
}
],
"updated_at": "2023-08-15T14:30:45Z"
}
Assistant
Responses are generated using AI and may contain mistakes.