PUT
/
connections
/
{nameOrID}
/
datamasking-rules
Update Data Masking Rule Connections
curl --request PUT \
  --url https://use.hoop.dev/api/connections/{nameOrID}/datamasking-rules \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "rule_id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
    "status": "active"
  }
]'
[
  {
    "connection_id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
    "id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
    "rule_id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
    "status": "active"
  }
]

Body

application/json · object[]

The request body resource

The body is of type object[].

Response

OK

The response is of type object[].