Skip to main content
PUT
/
members
/
{id}
/
representatives
Update representatives for a member
curl --request PUT \
  --url https://api.absentify.com/api/v1/members/{id}/representatives \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "representative_approval_process": "Linear",
  "member_can_reorder_representatives": true,
  "member_can_choose_representatives": true,
  "required_representatives_count": 4503599627370495,
  "representatives": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string<uuid>
required
Pattern: ^([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)$

Body

application/json
representative_approval_process
enum<string>
required
Available options:
Linear,
Parallel
member_can_reorder_representatives
boolean
required
member_can_choose_representatives
boolean
required
required_representatives_count
integer
required
Required range: 0 <= x <= 9007199254740991
representatives
string<uuid>[]
required
Pattern: ^([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)$

Response

Successful response

The response is of type string<uuid>.

Pattern: ^([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)$