Skip to main content
DELETE
/
billing-thresholds
/
{billingThresholdId}
Excluir Limite de Faturamento
curl --request DELETE \
  --url https://api.example.com/billing-thresholds/{billingThresholdId} \
  --header 'Authorization: <authorization>'
// No content
Requer permissao billing_threshold:delete.

Headers

Authorization
string
required
Bearer token.

Parametros de Path

billingThresholdId
string
required
ID do limite de faturamento.

Resposta

// No content

Exemplos de Codigo

curl -X DELETE https://api.awsales.io/admin/billing-thresholds/019525fd-a068-7e7c-d4f0-6a8b0c2e4f6c \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Exclui permanentemente o billing threshold. Ensure no organizations are currently using this threshold antes de excluir.

Codigos de Erro

StatusCodigoDescricao
400validation_errorEntrada invalida ou campos obrigatorios ausentes
401unauthorizedAutenticacao ausente ou invalida
403forbiddenPermissoes insuficientes
404billing_threshold.not_foundLimite de faturamento nao encontrado
500internal_server_errorOcorreu um erro inesperado