Add approval level via API

Add approval level via API

Hello,

I am trying to create a new approval level via the API, but I am encountering the error: "The user does not have this permission." However, I am using an administrator user, and I believe this permission should already be granted. Could you please guide me on how to add this permission?

Request details:

  • Endpoint: /api/v3/changes/{change_id}/approval_levels
  • Method: POST
  • Input Data:
  1. {
  2.     "approval_level": {
  3.         "rule": {
  4.             "type": "percent",
  5.             "value": "100"
  6.         },
  7.         "name": "Default",
  8.         "stage": {
  9.             "id": "1"
  10.         },
  11.         "approvals": []
  12.     }
  13. }

Thank you in advance for your assistance.

                  New to ADSelfService Plus?