Update page
PUT
/api/pages/{page}
Update page by id. Admin role is required.
Authorizations
bearerAuth
Bearer token using a JWT
Type
HTTP (Bearer)
Parameters
Path Parameters
page*
Type
Requiredinteger
Example
4Request Body
application/json
JSON "title": "More information", "content": "More information about Gancio.", "visible": true, "slug": "more-information"
{
}
Responses
Updated page.
application/json
JSON "id": 3, "title": "More info", "content": "More info about Gancio.", "visible": true, "slug": "more-info", "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z"
{
}

