PATCH /hub/v1/approvals-v2/settings

Overview

Updates the approvals settings with the values provided in the request body. Currently only the EnableEmailApprovals setting can be updated using the API.

JSON Parameters

Name Type Description
key string Required Key for the EnableEmailApprovals setting
value string Required True/false value for the EnableEmailApprovals setting

Responses

Status Name Type Description
200     Response includes the approvals settings for current user.
  key string Key for the EnableEmailApprovals setting
  value string True/false value for the EnableEmailApprovals setting
       
400_KeyRequired     Key is a required field.
  message string Key is a required field.
  errorcode string Error code for the exception (10002)
       
400_ValueRequired     Value is a required field.
  message string Value is a required field.
  errorcode string Error code for the exception (10002)
       
400_ValueBoolean     ** Value should be boolean.**
  message string Value should be boolean.
  errorcode string Error code for the exception (10002)