ai
DELETE /v1/ai/images/credentials/{credentialId}
Stop using an image-provider key.
Autenticação
Envie uma chave de API como um token de portador. A chave deve ter a permissão billing.manage; uma chave sem ela é recusada com 403, e não 404.
Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.
Experimente
Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.
curl -X DELETE https://api.zinndigital.com/v1/ai/images/credentials/{credentialId} \
-H "Authorization: Bearer zdk_live_…"Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API
Detalhes
Deletes the secret from Vault and marks the row revoked. **The row is kept**, because metered usage points at it. ⛔ The row is revoked even if the Vault delete fails: every read path filters on the revocation, so a key we cannot delete is still a key we will never use again — whereas a failed revoke that left the row live would keep charging the customer's provider account after they asked us to stop. Requires `billing.manage`.
Parâmetros
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
credentialId (path) | Uuid | Sim | — |
Erros que este endpoint pode retornar
401 · 403 · 404 · 429