Skip to main content
PUT
/
events
/
update
/
{event_id}
Update Event
curl --request PUT \
  --url https://api.swoogo.com/api/v1/events/update/{event_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data end_date= \
  --data end_time= \
  --data folder_id= \
  --data 'name=My Original Event Updated' \
  --data start_date=2021-08-28 \
  --data start_time=
{
  "name": "Unauthorized",
  "message": "Your request was made with invalid credentials.",
  "code": 0,
  "status": 401
}

Authorizations

Authorization
string
header
required

OAuth 2.0 bearer token obtained from POST /oauth2/token. Tokens expire after 30 minutes. Include in the Authorization header as Bearer {access_token}.

Path Parameters

event_id
integer
required

integer - required - The ID of the event you want to delete

Example:

1

Body

application/x-www-form-urlencoded
end_date
string
Example:

""

end_time
string
Example:

""

folder_id
string
Example:

""

name
string
Example:

"My Original Event Updated"

start_date
string
Example:

"2021-08-28"

start_time
string
Example:

""

Response