POST
/
dbroles
/
jobs
curl --request POST \
  --url https://use.hoop.dev/api/dbroles/jobs \
  --header 'Content-Type: */*' \
  --data '{
  "agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "aws": {
    "default_security_group": {
      "ingress_cidr": "192.168.1.0/24"
    },
    "instance_arn": "arn:aws:rds:us-west-2:123456789012:db:my-instance"
  },
  "connection_prefix_name": "prod-postgres-",
  "job_steps": [
    "create-connections",
    "send-webhook"
  ],
  "vault_provider": {
    "secret_id": "dbsecrets/data/"
  }
}'
{
  "job_id": "8F680C64-DBFD-48E1-9855-6650D9CAD62C"
}

Body

*/*
The request body resource

The body is of type object.

Response

202
application/json
Accepted

The response is of type object.