service-account

Update API key

Update the name or description of an API key.

post/api/v2/api-key/{id}

Request

  • Base URL
    https://central.zerotier.com
  • Auth
    HTTP bearer

Path parameters

idstring required

The API key ID

Request body

descriptionstring

Example request

{
  "description": "Updated key description"
}

Response

Updated API key metadata

idstring required
serviceAccountIdstring required
descriptionstring required
expiresstring date-time

Expiration time of the API key

creationTimestring date-time required

Time the API key was created

lastModifiedstring date-time required

Time the API key was last modified

lastUsedstring date-time

Time the API key was last used

Changes

No recorded changes to this operation across all 1 revision of this API.