delete https://api.deepgram.com/v1/projects//self-hosted/distribution/credentials/
Deletes one set of distribution credentials for the specified project
The following information applies only to Console projects which have been granted access to self-hosted products. Please contact Support if you would like access.
This endpoint was previously available at
/projects/{project_id}/onprem/distribution/credentials/{distribution_credentials_id}
.
Required Access
If the authenticated account has access to the owner
, admin
, or member
roles, or has access to the keys:write
project scopes, it will delete any key in the project. Otherwise, it will delete only keys belonging to the authenticated account.
For example:
curl -X DELETE \
https://api.deepgram.com/v1/projects/9f870faf-07a9-41b1-aa0d-de5030cb9bdc/self-hosted/distribution/credentials/f004b5bf-5e82-48cd-bcdc-02b4f3640a9e \
-H 'Content-Type: application/json'
A successful response:
{
"message": "Successfully deleted the distribution credentials!"
}
Read more about roles and scopes.