Posts
Reject a post
POST
Sends a submitted post back to its author as a draft, with a note saying what to change. Needs a key with the editor role or higher.
header
AuthorizationBearer <token>Send your key as Authorization: Bearer eksis_sk_....
postId*stringapplication/json- body
note*stringShown to the author.
Length
1 <= length <= 2000The post is a draft again.
application/json- response
data?curl -X POST 'https://api.eksis.io/v1/posts/string/reject' \ -H 'Authorization: Bearer eksis_sk_...' \ -H 'Content-Type: application/json' \ -d '{ "note": "string"}'{ "data": { "id": "string", "status": "draft", "scheduledAt": "2019-08-24T14:15:22Z" }}