v32

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-07-312881,4162.7 MB
Projects

Update project service account

Updates a service account in the project.

post/organization/projects/{project_id}/service_accounts/{service_account_id}

Path parameters

project_idstring required

The ID of the project.

service_account_idstring required

The ID of the service account.

Request body

namestring

The updated service account name.

role'member' | 'owner'

The updated service account role.

Response

Project service account updated successfully.

object'organization.project.service_account' required

The object type, which is always organization.project.service_account

idstring required

The identifier, which can be referenced in API endpoints

namestring required

The name of the service account

role'owner' | 'member' | 'none' required

owner, member, or none

created_atinteger required

The Unix timestamp (in seconds) of when the service account was created