Skip to main content
PUT
/
v1
/
events
/
{eventId}
/
locations
/
{locationId}
Update an existing location
curl --request PUT \
  --url https://api.zuddl.com/v1/events/{eventId}/locations/{locationId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Conference Hall A, Tech Park",
  "mapLink": "https://maps.google.com/..."
}
'
{
  "timestamp": "2023-11-07T05:31:56Z",
  "message": "<string>",
  "description": "<string>",
  "errors": {}
}

Authorizations

Authorization
string
header
required

Provide your API key secret in the Authorization header

Path Parameters

eventId
string
required

Unique identifier of the event

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
locationId
string
required

Unique identifier of the location

Body

application/json
name
string
required

Name of the location (complete address)

Maximum string length: 100
Example:

"Conference Hall A, Tech Park"

Google Maps or other map service link for the location

Maximum string length: 400
Pattern: https?://(?:www\d*\.)?[\p{L}\p{N}@:%._+~#=-]{1,256}\.[\p{L}\p{N}()]{1,6}\b[\p{L}\p{N}()!@:%_+.~#?&/=-]*
Example:

"https://maps.google.com/..."

Response

Location updated successfully