Skip to main content
DELETE
/
api
/
v2
/
api-key
/
{apiKeyId}
Delete API key
curl --request DELETE \
  --url https://demo.api.loopcrypto.xyz/api/v2/api-key/{apiKeyId} \
  --header 'api-key: <api-key>' \
  --header 'entity-id: <api-key>'
{
  "totalResults": 100,
  "apiKeys": [
    {
      "dateCreated": 1716211200,
      "name": "Loop API key",
      "id": "1234567890abcdef",
      "permissions": [
        "CreateEntity",
        "GetPaymentTypes"
      ]
    }
  ]
}

Authorizations

api-key
string
header
required
entity-id
string
header
required

Path Parameters

apiKeyId
string
required

The unique identifier of the API key to be permanently deleted. This must be a valid API key ID associated with your entity. This is not the API key value, but the unique identifier for the API key that can be obtained using the list API keys endpoint.

Response

Ok

totalResults
number
required

The total count of API keys matching the search criteria, regardless of page size or number.

Example:

100

apiKeys
object[]
required

The list of API keys associated with the entity

I