Log inTalk to us

Revoke a team migration key

delete/v1/migrations/{migration_id}/keys/{key_id}
Requires an API key

Takes effect at once. A team's owners and admins revoke its keys; the client and Ivora support revoke any. A repeat changes nothing. Signed-in users only: an API key cannot manage keys. The key acts on this migration's routes and GET /v1/access only; every project route (/v1/tenants/...) refuses it. On every request it holds the scopes its creator's current role in the migration still allows, so a downgrade takes effect at once and the key stops when they leave the team or the team leaves the migration (which also revokes its keys). Errors: 403 migration_key_not_permitted, 404 migration_key_not_found, 404 migration_not_found, 503 migration_audit_unavailable. See Errors and statuses.

Path parameters

  • key_idstringRequired
    Pattern ^key_[0-9a-f]{32}$
  • migration_idstringRequired
    Pattern ^mig_[0-9a-f]{32}$

Returns · 200

  • idstringRequired
    key_...
  • labelstringRequired
  • prefixstringRequired
    The key's first 16 characters, to recognise it; the secret is shown only when it is created.
  • scopesarray of enumRequired
  • migration_idstringRequired
  • team_idstringRequired
    The participant team the key belongs to.
  • created_bystringRequired
  • created_atstringRequired
  • api_versionstringRequired
  • revokedbooleanRequired
  • revoked_atstring | nullRequired
  • revoked_bystring | nullRequired
DELETE /v1/migrations/{migration_id}/keys/{key_id}
curl --fail-with-body -X DELETE "https://api.ivoracharge.com/v1/migrations/mig_0123456789abcdef0123456789abcdef/keys/key_0123456789abcdef0123456789abcdef" \
  -H "Authorization: Bearer $IVORA_API_KEY"
Response · 200JSON
{
  "id": "id_0123456789abcdef",
  "label": "string",
  "prefix": "string",
  "scopes": [
    "migration:read"
  ],
  "migration_id": "migration_0123456789abcdef",
  "team_id": "team_0123456789abcdef",
  "created_by": "string",
  "created_at": "2026-09-30T17:00:00Z",
  "api_version": "string",
  "revoked": false,
  "revoked_at": "2026-09-30T17:00:00Z",
  "revoked_by": "string"
}
Requires an approved production API keyProduction access starts with a request, a short meeting with Ivora and a card on file, after which Ivora staff grant your account access. How to request access
Try itproduction · api.ivoracharge.com

Paste a production api key (iv_live_…). Create keys in Developer tools. The key stays in this page's memory, is sent only to https://api.ivoracharge.com and clears when you reload. Test keys are refused.

DELETE is a write: you confirm the method, path and project before it is sent, with a generated Idempotency-Key.