{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sadq Integration Archiving & Delegations Users API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sadq.sa/api/v1/users",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new user account within the tenant. The created user can be assigned permissions and can participate in signing workflows."
        },
        {
          "info": {
            "name": "Delete User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sadq.sa/api/v1/users/delete",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a user account from the tenant. This action is irreversible. All active signing sessions for this user will be terminated."
        },
        {
          "info": {
            "name": "Add User Permissions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sadq.sa/api/v1/users/permissions/add",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Grant additional permissions to a user. Permissions control access to specific API operations and document groups."
        },
        {
          "info": {
            "name": "Remove User Permissions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sadq.sa/api/v1/users/permissions/remove",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Removes permissions from an existing user."
        },
        {
          "info": {
            "name": "Update User",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.sadq.sa/api/v1/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the user to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an existing user's information."
        }
      ]
    }
  ],
  "bundled": true
}