Skip to main content
PUT
Create or update a member's out of office message

Autorisierungen

X-API-KEY
string
header
erforderlich

Pfadparameter

member_id
string<uuid>
erforderlich
Pattern: ^([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})$
leave_type_id
string<uuid>
erforderlich
Pattern: ^([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})$

Body

application/json
internalReplyMessage
string
erforderlich

Message sent to senders inside the organisation.

Maximum string length: 6000
externalReplyMessage
string
erforderlich

Message sent to senders outside the organisation.

Maximum string length: 6000
externalAudience
enum<string>
erforderlich

Who outside the organisation receives the external message.

Verfügbare Optionen:
none,
contactsOnly,
all
sync_enabled
boolean

Whether absentify writes the message to the member's mailbox. Defaults to true for a new setting.

allow_member_edit_out_of_office_message
boolean

Whether the member may change the message in absentify. Defaults to true for a new setting.

Antwort

Successful response

id
string
erforderlich
member_id
string
erforderlich
leave_type_id
string
erforderlich
internalReplyMessage
string
erforderlich
externalReplyMessage
string
erforderlich
externalAudience
enum<string>
erforderlich
Verfügbare Optionen:
none,
contactsOnly,
all
allow_member_edit_out_of_office_message
boolean
erforderlich
sync_enabled
boolean
erforderlich
createdAt
string
erforderlich
updatedAt
string
erforderlich