DELETE
/
organization
/
projects
/
{project_id}
/
service_accounts
/
{service_account_id}
Delete project service account
curl --request DELETE \
  --url https://api.openai.com/v1/organization/projects/{project_id}/service_accounts/{service_account_id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "organization.project.service_account.deleted",
  "id": "<string>",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

The ID of the project.

service_account_id
string
required

The ID of the service account.

Response

200 - application/json

Project service account deleted successfully.

The response is of type object.