Skip to main content
Use this endpoint to permanently remove your organization’s TRACES NT credentials from AgriBackup’s secure Vault. Deleting the credentials revokes delegation immediately — any subsequent DDS submission attempts will fail until new credentials are ingested. Because AgriBackup uses a stateless transit-based encryption model, clearing the stored ciphertext reference completely purges the secret from the system; there is no soft-delete or recovery path. This action is appropriate when offboarding, rotating TRACES NT accounts at the source, or responding to a credential compromise. DELETE /api/v1/enterprise/eudr/credentials/traces

Request Parameters

This endpoint accepts no request body and no query parameters. Authentication is performed via your enterprise API key.

Code Examples

import agribackup
from agribackup.rest import ApiException

configuration = agribackup.Configuration(host="https://live.agribackup.com/api/v1")
configuration.api_key["ApiKeyAuth"] = "sk_live_YOUR_API_KEY"

with agribackup.ApiClient(configuration) as api_client:
    try:
        api_instance = agribackup.EnterpriseCredentialsApi(api_client)
        api_instance.delete_traces_credentials()
        print("TRACES NT credentials have been purged.")
    except ApiException as e:
        print("Exception when calling API: %s\n" % e)
import { AgriBackupClient } from "@agribackup/sdk";

const client = new AgriBackupClient({
  apiKey: "sk_live_YOUR_API_KEY",
  baseUrl: "https://live.agribackup.com/api/v1",
});

async function revokeCredentials() {
  try {
    await client.credentials.deleteTracesCredentials();
    console.log("TRACES NT credentials have been purged.");
  } catch (error) {
    console.error(error);
  }
}

revokeCredentials();
curl --request DELETE \
  --url https://live.agribackup.com/api/v1/enterprise/eudr/credentials/traces \
  --header "Authorization: Bearer sk_live_YOUR_API_KEY"

Response

A 204 No Content response confirms the credentials have been permanently purged from Vault. No response body is returned. After this call, the Check Status endpoint will return a 404 Not Found until new credentials are ingested.
HTTP/1.1 204 No Content
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 995
X-RateLimit-Reset: 1751400000

Error Responses

HTTP StatusError CodeDescription
401 UnauthorizedUNAUTHORIZEDThe Authorization header is absent or the bearer token is not recognised.
403 ForbiddenFORBIDDENYour API key does not have the required scope to delete credentials for this organization.
404 Not FoundNOT_FOUNDNo TRACES NT credentials are currently stored for this organization. They may have already been purged.
429 Too Many RequestsRATE_LIMITEDYou have exceeded the hourly rate limit. Check X-RateLimit-Reset for your reset time.
{
  "code": "NOT_FOUND",
  "message": "No TRACES NT credentials found for this organization",
  "details": []
}