GET
/
dbroles
/
jobs
/
{id}
curl --request GET \
  --url https://use.hoop.dev/api/dbroles/jobs/{id}
{
  "completed_at": "2025-02-28T13:45:12Z",
  "created_at": "2025-02-28T12:34:56Z",
  "hook_status": {
    "execution_time_sec": 5,
    "exit_code": 0,
    "output": "output"
  },
  "id": "67D7D053-3CAF-430E-97BA-6D4933D3FD5B",
  "org_id": "37EEBC20-D8DF-416B-8AC2-01B6EB456318",
  "spec": {
    "account_arn": "arn:aws:iam:123456789012",
    "db_arn": "arn:aws:rds:us-west-2:123456789012:db:my-instance",
    "db_engine": "postgres",
    "db_name": "customers",
    "db_tags": [
      {
        "key": "squad",
        "value": "banking"
      }
    ]
  },
  "status": {
    "message": "All user roles have been successfully provisioned",
    "phase": "running",
    "result": [
      {
        "completed_at": "2025-02-28T12:34:56Z",
        "credentials_info": {
          "secret_id": "dbsecrets/data/pgprod",
          "secret_keys": [
            "HOST",
            "PORT",
            "USER",
            "PASSWORD",
            "DB"
          ],
          "secrets_manager_provider": "database"
        },
        "message": "process already being executed, resource_id=arn:aws:rds:us-west-2:123456789012:db:my-postgres-db",
        "status": "failed",
        "user_role": "hoop_ro"
      }
    ]
  }
}

Path Parameters

id
string
required

The unique identifier of the resource

Response

200
application/json
OK

The response is of type object.