Remove account from post
Removes one account from an existing post so it will no longer be published there. Other accounts in the same post are not changed.
Removes one account from an existing post so it will no longer be published there. Other accounts in the same post are not changed.
Authorization
ApiKeyAuth AuthorizationBearer <token>
PublishQ API key sent as Authorization: Bearer pq_live_....
In: header
Path Parameters
id*string
Format
uuidaccountId*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://publishq.com/api/v1/posts/1b5c779b-d7de-4e4e-bf55-95b9317b6d93/accounts/a1b2c3d4-e5f6-7890-abcd-ef1234567890"Empty
{
"error": {
"title": "Unauthorized",
"status": 401,
"code": "missing_auth",
"message": "Missing Authorization header",
"instance": "/api/v1/posts"
}
}{
"error": {
"title": "Forbidden",
"status": 403,
"code": "insufficient_scope",
"message": "Missing required scope: posts:write",
"instance": "/api/v1/posts/1b5c779b-d7de-4e4e-bf55-95b9317b6d93/accounts/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}{
"error": {
"title": "Not Found",
"status": 404,
"code": "post_not_found",
"message": "Post not found",
"instance": "/api/v1/posts"
}
}{
"error": {
"title": "Too Many Requests",
"status": 429,
"code": "rate_limit_exceeded",
"message": "Too Many Requests",
"instance": "/api/v1/posts/1b5c779b-d7de-4e4e-bf55-95b9317b6d93/accounts/a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"details": {
"retryAfter": 60
}
}
}