1. Token API

RenameByToken

The RenameByToken endpoint renames an API key that is identified by its token.

Relative Route/renamebytoken
HTTP VerbPUT

The following header is required:

NameFormatDescription
X-GQL-TokenstringThe token of the key to be renamed.

Request body

The request body must contain the following fields:

NameDescription
newNameThe name of the API key.

Response body

The response is a boolean value indicating whether the key was renamed successfully.

If you have suggestions for improving this article, let us know!