Attachments
Update an Attachment
Changed onOAuth Scope
This endpoint requires the following OAuth scope manage_attachments.
post/dboattachment/{uuid}.json
Request
- Base URLhttps://api.servicem8.com/api_1.0
- URLhttps://api.servicem8.com/api_1.0/dboattachment/{uuid}.json
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.servicem8.com/oauth/authorizeToken URL: https://api.servicem8.com/oauth/access_token scopes: manage_attachments
Path parameters
uuidstring uuid required
UUID of the Attachment
Request body
Example request
{
"related_object_uuid": "123e4567-e2d6-438c-b5fd-23f94d0b0a5b",
"uuid": "123e4567-0a17-4196-9697-23f94950984b",
"created_by_staff_uuid": "123e4567-0a69-4b5b-9b47-23f94973bddb"
}Response
Success - The record was updated successfully
Example response
{
"message": "OK"
}Changes
- info
endpoint added
- info