Sample - OpenAI API
DELETE/organization/projects/{project_id}/service_accounts/{service_account_id}

Delete project service account

Deletes a service account from the project.

Returns confirmation of service account deletion, or an error if the project is archived (archived projects have no service accounts).

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
project_idstringrequired
The ID of the project.
service_account_idstringrequired
The ID of the service account.

1 status code
200Project service account deleted successfully.
objectstringrequired
Allowed:organization.project.service_account.deleted
idstringrequired
deletedbooleanrequired