Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
Set true to move the item to trash; set false to delete it permanently. Default: false.
{
"posts": ['8eb4e98d-2b93-44bd-a664-7a6438eff67b', 'b1b06706-ef95-42b7-8ac8-d648dc9a9d65'],
"trash": false
}
Request samples
curl --location --request DELETE 'https://app.onlysocial.io/os/api/<workspaceUuid>/posts' \
--header 'Content-Type: application/json' \
--data-raw '{
"posts": ['\''8eb4e98d-2b93-44bd-a664-7a6438eff67b'\'', '\''b1b06706-ef95-42b7-8ac8-d648dc9a9d65'\''],
"trash": false
}'
Responses
application/json Modified at 2024-06-28 15:51:30