Skip to main content

ServiceAccountCreateRequest

Request to create a platform service account. role is the network role to grant the account (admin or viewer); it is capped at the creating admin's own effective role. The account is created under the network in the path.

namestringnullable

Human-readable label for the account

Example: billing-sync
rolestringnullable

Network role to grant the account; capped at the creating admin's own effective role

Possible values: [admin, viewer]

Example: viewer
descriptionstringnullable

Optional free-text description of what the account is used for

Example: Automated nightly billing reconciliation
ServiceAccountCreateRequest
{
"name": "billing-sync",
"role": "viewer",
"description": "Automated nightly billing reconciliation"
}