Skip to main content
PUT
/
locations
/
update
/
{location_id}
Update Location
curl --request PUT \
  --url https://api.swoogo.com/api/v1/locations/update/{location_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data capacity= \
  --data color= \
  --data name= \
  --data use_event_address=
{
  "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

location_id
integer
required

integer - required - The ID of the location you want to update

Example:

1

Body

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

""

color
string
Example:

""

name
string
Example:

""

use_event_address
string
Example:

""

Response