POST /command/config/remove-disclaimer

Remove the disclaimer text set through POST /command/config/set-disclaimer.

Request format

This endpoint requires authentication, and the requesting user must have the configuration:edit_disclaimer permission.

When Forming RBAC API requests to this endpoint, the request is a basic call with authentication, such as:

curl -X POST "https://$(puppet config print server):4433/rbac-api/v1/command/config/remove-disclaimer" \
-H "X-Authentication: $(puppet access show)"

Response format

A successful request returns 204 No Content and the Disclaimer banner is removed from the PE console login page.

However, if you had previously used a disclaimer.txt file to Create a custom login disclaimer, and the disclaimer.txt file still exists in the appropriate location, then PE falls back to this file and displays the content of this file on the console login page.

Error responses

Requests must contain the Content-Type: application/json header.

Returns 403 Not Permitted if you don't have the configuration:edit_disclaimer permission.

For other errors, refer to RBAC service errors .