Members

Update representatives for a member

Changed on
    This endpoint allows updating the representatives for a specific member.
    It also configures how representative approvals work for this member.
    The 'id', 'representative_approval_process', 'member_can_reorder_representatives',
    'member_can_choose_representatives', 'required_representatives_count', and 'representatives' fields are always required.
  
put/members/{id}/representatives

Request

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

Path parameters

idstring uuid required

Request body

representative_approval_process'Linear' | 'Parallel' required
member_can_reorder_representativesboolean required
member_can_choose_representativesboolean required
required_representatives_countinteger required
representativesstring[] required

Response

Successful response

string uuid required

Changes

    • 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})$

    • warning

      changed the pattern of the request property / 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})$