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"
}
]
}
}Get DB Role job by 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"
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://mintlify.hoop.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
The unique identifier of the resource
OK
Timestamp when this job finished execution (null if still in progress)
"2025-02-28T13:45:12Z"
Timestamp when this job was initially created
"2025-02-28T12:34:56Z"
The Runbook execution status
Show child attributes
Unique identifier for this database role job
"67D7D053-3CAF-430E-97BA-6D4933D3FD5B"
Unique identifier of the organization that owns this job
"37EEBC20-D8DF-416B-8AC2-01B6EB456318"
AWS-specific configuration details for the database role provisioning
Show child attributes
Current status and results of the job execution (null if not started)
Show child attributes
Was this page helpful?