Update an attachment

POST /attachments/{attachment_id}

Path parameters

Body

Responses

POST /attachments/{attachment_id}
curl \
 -X POST /wp-json/hivepress/v1/attachments/{attachment_id} \
 -H "Content-Type: application/json" \
 -d '{"sort_order":42}'
Request example
{
  "sort_order": 42
}
Request examples
{
  "sort_order": 42
}