Publish the specified movement

POST /api/share/movement

Creates a new SharedObject for the specified movement identifier, which means it can be accessed without being logged to the system

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

application/json

Body

Responses

POST /api/share/movement
curl \
 -X POST https://api-dev.gatego.io:443/api/share/movement \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"reference_id":42}'
Request example
# Headers

# Payload
{
  "reference_id": 42
}
Response examples (200)
{
  "enabled": true,
  "id": "string",
  "object_type": "ATTACHMENT",
  "reference_id": 42
}