Update an attachment
Path parameters
-
Attachment ID.
Body
-
sort_order integer
Sort order.
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
}