DELETE/v1/projects/:project_id/self-hosted/distribution/credentials/:distribution_credentials_id
| 1 | import requests |
| 2 | |
| 3 | url = "https://api.deepgram.com/v1/projects/project_id/self-hosted/distribution/credentials/distribution_credentials_id" |
| 4 | |
| 5 | headers = {"Authorization": "<apiKey>"} |
| 6 | |
| 7 | response = requests.delete(url, headers=headers) |
| 8 | |
| 9 | print(response.json()) |
| 1 | { |
| 2 | "member": { |
| 3 | "member_id": "c7b9b131-73f3-11d9-8665-0b00d2e44b83", |
| 4 | "email": "email@example.com" |
| 5 | }, |
| 6 | "distribution_credentials": { |
| 7 | "distribution_credentials_id": "82c32c10-53b2-4d23-993f-864b3d44502a", |
| 8 | "provider": "quay", |
| 9 | "scopes": [ |
| 10 | "self-hosted:product:api", |
| 11 | "self-hosted:product:engine" |
| 12 | ], |
| 13 | "created": "2023-06-28T15:36:59.609841Z", |
| 14 | "comment": "My Self-Hosted Distribution Credentials" |
| 15 | } |
| 16 | } |