Update an existing execution policy

Update an existing execution policy

Body required
application/json

Execution policy to update

name
string required
description
string | null
authorizedPeriods
array of objects | null (ExecutionPeriod)
forbiddenPeriods
array of objects | null (ExecutionPeriod)
Responses
  • 200 Execution policy successfully updated
    _id
    string (Internal ID) required

    Object internal ID

    name
    string required
    description
    string | null
    authorizedPeriods
    array of objects | null (ExecutionPeriod)
    forbiddenPeriods
    array of objects | null (ExecutionPeriod)
  • 400 Bad Request
  • 401 Unauthorized request
  • 403 Forbidden action
  • 404 Not Found
  • 500 Internal Server error