diff --git a/doc/12-icinga2-api.md b/doc/12-icinga2-api.md index da38b31ca..e5720e0c8 100644 --- a/doc/12-icinga2-api.md +++ b/doc/12-icinga2-api.md @@ -1547,7 +1547,7 @@ Send a `POST` request to the URL endpoint `/v1/actions/execute-command`. ttl | Number | **Required.** The time to live of the execution expressed in seconds. command_type | String | **Optional.** The command type: `CheckCommand` or `EventCommand` or `NotificationCommand`. Default: `EventCommand` command | String | **Optional.** The command to execute. Its type must the same as `command_type`. It can be a macro string. Default: depending on the `command_type` it can be `$check_command$`, `$event_command$` or `$notification_command$` - endpoint | String | **Optional.** The endpoint execute the command on. It can be a macro string. Default: `$command_endpoint`. + endpoint | String | **Optional.** The endpoint to execute the command on. It can be a macro string. Default: `$command_endpoint`. macros | Dictionary | **Optional**. A serialized object used to resolve the macro strings. Default: `{}` user | String | **Optional.** The user used for the notification command. notification | String | **Optional.** The notification used for the notification command. diff --git a/doc/19-technical-concepts.md b/doc/19-technical-concepts.md index 9a3229ca4..272381181 100644 --- a/doc/19-technical-concepts.md +++ b/doc/19-technical-concepts.md @@ -1750,7 +1750,7 @@ command\_type | String | `check_command` or `event_command`. command | String | CheckCommand or EventCommand name. check\_timeout | Number | Check timeout of the checkable object, if specified as `check_timeout` attribute. macros | Dictionary | Command arguments as key/value pairs for remote execution. -endpoint | String | The endpoint execute the command on. +endpoint | String | The endpoint to execute the command on. ##### Functions