Authentication
Connections
AWS
Guard Rails
Server Management
Jira
Organization Management
Reports
User Management
Sessions
Guard Rails
Update Guard Rail Rules
Update Guard Rail Rules
PUT
/
guardrails
/
{id}
curl --request PUT \
--url https://use.hoop.dev/api/guardrails/{id} \
--header 'Content-Type: application/json' \
--data '{
"connection_ids": [
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D8"
],
"description": "description about this rule",
"input": {},
"name": "my-strict-rule",
"output": {}
}'
{
"connection_ids": [
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D8"
],
"created_at": "2024-07-25T15:56:35.317601Z",
"description": "description about this rule",
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"input": {},
"name": "my-strict-rule",
"output": {},
"updated_at": "2024-07-25T15:56:35.317601Z"
}
Body
application/json
The request body resource
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
curl --request PUT \
--url https://use.hoop.dev/api/guardrails/{id} \
--header 'Content-Type: application/json' \
--data '{
"connection_ids": [
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D8"
],
"description": "description about this rule",
"input": {},
"name": "my-strict-rule",
"output": {}
}'
{
"connection_ids": [
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D8"
],
"created_at": "2024-07-25T15:56:35.317601Z",
"description": "description about this rule",
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"input": {},
"name": "my-strict-rule",
"output": {},
"updated_at": "2024-07-25T15:56:35.317601Z"
}
Assistant
Responses are generated using AI and may contain mistakes.