Members

Update approvers for a member

Changed on
    This endpoint allows updating the approvers for a specific member based on the chosen approval process.
    Depending on the provided configuration:
    - If Microsoft profile managers are used, department and custom approvers are ignored.
    - If department settings are used, Microsoft profile managers and custom approvers are ignored.
    - If custom approvers are provided, Microsoft profile managers and department settings are ignored.

    **No Approver (Self-Approval):**
    To set "no approver" for a member, provide an empty array: `approvers: []`.
    The system will automatically configure the member as their own approver (self-approval),
    which is internally recognized as "no approver" throughout the application.

    The 'id' and 'approval_process' fields are always required.

    When Microsoft profile managers are used, this call returns 503 while the Microsoft directory is unavailable. That condition is temporary, so the request may be retried.
  
put/members/{id}/approvers

Request

  • Base URL
    https://api.absentify.com/api/v1
  • URL
    https://api.absentify.com/api/v1/members/{id}/approvers
  • Auth
    API key in header X-API-KEY

Path parameters

idstring uuid required

Request body

approval_process'Linear_all_have_to_agree' | 'Linear_one_has_to_agree' | 'Parallel_all_have_to_agree' | 'Parallel_one_has_to_agree' | 'Parallel_first_response_decides' required

Response

Successful response

string uuid required

Changes

    • info

      added the new Parallel_first_response_decides enum value to the request property

    • warning

      changed the pattern of the path request parameter id from ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ to ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$