Guard Rails
Create Guard Rail Rules
Authentication
Connections
AWS
Guard Rails
Server Management
Jira
Organization Management
Reports
User Management
Sessions
Guard Rails
Create Guard Rail Rules
Create Guard Rail Rules
POST
/
guardrails
curl --request POST \
--url https://use.hoop.dev/api/guardrails \
--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
201
application/json
Created
The response is of type object
.
curl --request POST \
--url https://use.hoop.dev/api/guardrails \
--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"
}