Skip to content

Edit a venue; `propagate` also updates upcoming gigs still carrying the old value

PATCH
/api/venues/{id}
id
required
string format: uuid
object
name
string
>= 1 characters <= 200 characters
address
string
nullable <= 500 characters
city
string
nullable <= 120 characters
timezone
string
nullable <= 100 characters
contactName
string
nullable <= 200 characters
contactPhone
string
nullable <= 50 characters
contactEmail
Any of:
string format: email
<= 254 characters
defaultLoadIn
Any of:
string
/^([01]\d|2[0-3]):[0-5]\d$/
parkingInfo
string
nullable <= 1000 characters
accessNotes
string
nullable <= 2000 characters
notes
string
nullable <= 2000 characters
propagate
boolean

Success

object
ok
required
boolean
data
nullable

Bad request / invalid input

object
ok
required
boolean
error
required
string
code
string

Unauthenticated

object
ok
required
boolean
error
required
string
code
string

Forbidden / not a band member

object
ok
required
boolean
error
required
string
code
string

Not found

object
ok
required
boolean
error
required
string
code
string

Name taken, or venue still linked to gigs

object
ok
required
boolean
error
required
string
code
string

Server error

object
ok
required
boolean
error
required
string
code
string