File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
docs/src/main/sphinx/admin Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ sufficient grace period.
77You can invoke the API with a HTTP PUT request:
88
99``` bash
10- curl -v -X PUT -d ' "SHUTTING_DOWN"' -H " Content-type: application/json" \
10+ curl -v -X PUT -d ' "SHUTTING_DOWN"' -H " Content-type: application/json" -H " X-Trino-User: authorizeduser " \
1111 http://worker:8081/v1/info/state
1212```
1313
@@ -26,6 +26,7 @@ Keep the following aspects in mind:
2626 configure {ref}`system information rules
2727 <system-file-auth-system-information >` with the ` file` system access
2828 control. These configuration must be present on all workers.
29+ - The user supplied in the ` X-Trino-User ` header must have permissions to write "system information"
2930
3031## Shutdown behavior
3132
You can’t perform that action at this time.
0 commit comments