Masumi Logo

/api-key

Removes a API key

DELETE
/api-key
token<token>

API key authentication via header (token)

In: header

idstring

The id of the API key to be (soft) deleted.

Lengthlength <= 150

Response Body

curl -X DELETE "https://loading/./../api/v1/api-key/" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "id_or_apiKey_unique_cuid_v2_of_entry_to_delete"
  }'
{
  "status": "success",
  "data": {
    "id": "unique_cuid_v2_of_entry_to_delete",
    "token": "masumi_registry_api_key_secret",
    "status": "Revoked",
    "permission": "Admin",
    "usageLimited": true,
    "networkLimit": [
      "Preprod",
      "Mainnet"
    ],
    "deletedAt": "1970-01-20T20:00:36.260Z"
  }
}
Empty
Empty
Empty