Skip to main content
PUT
/
v1
/
events
/
update
Event Update
curl --request PUT \
  --url https://dev.api.mufi.app/v1/events/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "start_date": 123,
  "end_date": 123
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "reference_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "description": "<string>",
  "start_date": 123,
  "end_date": 123,
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

A JWT Access Token obtained from Google Cloud.

Body

application/json

The request body must include the event ID or reference ID, and the fields to update.

name
string

Name of the event. e.g. "Ultra Music Festival"

Required string length: 1 - 255
description
string

Description of the event. e.g. "The best music festival in the world"

start_date
integer | null

Timestamp as Unix timestamp in seconds

Required range: x > 0
end_date
integer | null

Timestamp as Unix timestamp in seconds

Required range: x > 0

Response

Created.

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
name
string
required
project_id
string<uuid>
required
reference_id
string | null

An optional ID of the reference object in your database. This can be used to query events by reference object.

description
string | null
start_date
integer | null

Timestamp as Unix timestamp in seconds

Required range: x > 0
end_date
integer | null

Timestamp as Unix timestamp in seconds

Required range: x > 0