application

Perform security updates on an application.

Changed on

Requires elevated authentication.

put/application/{id}/security

Request

  • Base URL
    http://localhost
  • Auth
    • API key in header Authorization
    • or API key in header X-Gotify-Key
    • or API key in query parameter token
    • or HTTP basic

Path parameters

idinteger required

the application id

Request body

regenerateTokenboolean

Whether to regenerate the token. Your client token must be elevated to perform this action.

Example request

{
  "regenerateToken": true
}

Response

Ok

Example response

{
  "regenerateToken": {
    "token": "gtfya.e2NcJK7AenXBPIRB3S03JsBlmy0V6xP8h0hwSiAJae8"
  }
}

Changes