latestOpenAPI 3.0.02026-08-10221235717.8 KB
e21ad140ec3c
public
ResourceAccount
Create a new Resource Account in the organization.
post/orgs/{orgId}/resources/accounts
Path parameters
orgIdstring required
The Organization ID.
Query parameters
dry_runboolean
Validate the request but do not persist the change.
check_credentialboolean
Validate that the Account credential authenticates successfully.
Request body
Example request
{
"credentials": {
"password": "***",
"username": "***"
},
"id": "gcp-dev-postgres",
"name": "GCP Dev Postgres",
"type": "gcp-service-account"
}Response
The newly created Resources Account details.
Example response
{
"created_at": "2020-05-22T14:58:07Z",
"created_by": "test-user",
"id": "gcp-dev-postgres",
"is_default": false,
"is_used": true,
"name": "GCP Dev Postgres",
"type": "gcp"
}