Account

Rotate the Auth Key

Changed on
post/api/Account/rotate-auth-key

Request

  • Base URL
    http://localhost:5000
  • URL
    http://localhost:5000/api/Account/rotate-auth-key
  • Auth
    API key in header x-api-key

Query parameters

authKeyIdinteger

Request body

keyLengthinteger required
namestring required
expiresUtcstring nullable

Response

OK

idinteger
keystring nullable required
namestring nullable required
createdAtUtcstring date-time
expiresAtUtcstring date-time nullable
lastAccessedAtUtcstring date-time nullable
provider0 | 1

Members:

  • 0 — User
  • 1 — System

Changes

    • warning

      removed the optional property from the response with the status (media type: text/plain)

    • warning

      removed the optional property from the response with the status (media type: application/json)

    • warning

      removed the optional property from the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      endpoint added