Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the project.
The ID of the 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
}Deletes a service account from the project.
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
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the project.
The ID of the service account.
Was this page helpful?