Access Key Management

We’re generating Access Keys automatically as we scale, and the Access Key: Create node has been working well for that. I’m now trying to cover an edge case where a device loses its access‑key credentials and needs to re‑provision. I have the re‑provisioning side handled.

What I’m looking to automate next is cleanup of stale Access Keys. This is purely bookkeeping — but to do it correctly, I need to compare the Access Key descriptions (I include identifying info there) against the current device collection.

From what I can see, the REST API doesn’t provide a way to list or delete Access Keys (I only need the key + description, not the secret).

Am I missing an existing method in the API that would allow this?

The API does support it … your confusion probably comes from the resource being called Application Keys vs. us referring to them as “Access Keys” in the UI:

While not supported in the user interface list, the Application Keys: List endpoint does support advanced query as well. So for example, if you edited the description of any access key for a deleted device to start with the word “DELETED”, you could construct a query like so to retrieve all of those keys:

{
  "description": {
    "$startsWith": "DELETED"
  }
}

I confess, when I saw Application Keys, I thought ‘API Keys’. .

I’ll give the advanced query a try; it sounds like it might meet the need.

Thanks Dylan.