Skip to content

Update attendance preferences

PATCH
/api/calendar/preferences

Updates the current user’s default attendance preferences for gigs and rehearsals.

object
memberType
string
Allowed values: core guest
defaultGigAttendance
string
Allowed values: playing not_playing maybe no_response
defaultRehearsalAttendance
string
Allowed values: playing not_playing maybe no_response

Updated preferences

object
ok
required
boolean
data
required
object
id

UUID identifier

string format: uuid
Example
550e8400-e29b-41d4-a716-446655440000
bandId

UUID identifier

string format: uuid
Example
550e8400-e29b-41d4-a716-446655440000
userId

UUID identifier

string format: uuid
Example
550e8400-e29b-41d4-a716-446655440000
memberType
required
string
Allowed values: core guest
defaultGigAttendance
required
string
Allowed values: playing not_playing maybe no_response
defaultRehearsalAttendance
required
string
Allowed values: playing not_playing maybe no_response
createdAt
string format: date-time
updatedAt
string format: date-time

Validation error or user not in a band

object
ok
required
boolean
error
required
string

Unauthorized

object
ok
required
boolean
error
required
string