client
Update a client.
Changed onput/client/{id}
Request
- Base URLhttp://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 client id
Request body
Example request
{
"expiresAfterInactivitySeconds": 2592000,
"name": "My Client"
}Response
Ok
Example response
{
"createdAt": "2019-01-01T00:00:00Z",
"expiresAfterInactivitySeconds": 2592000,
"expiresAt": "2019-01-01T00:00:00Z",
"id": 5,
"lastUsed": "2019-01-01T00:00:00Z",
"name": "Android Phone",
"token": "CWH0wZ5r0Mbac.r"
}Changes
- info
the endpoint scheme security
clientTokenAuthorizationHeaderwas added to the API
- info
- info
endpoint added
- info