Hanzo
OpenapiSocial

Removes one post from the org and answers 204 with no body; an id that is not…

Removes one post from the org and answers 204 with no body; an id that is not there is 404. It deletes the record here only.

DELETE /v1/social/posts/{id}

Addresshttps://api.hanzo.ai/v1/social/posts/{id}
MethodDELETE
Operationdelete_social_posts_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one post from the org and answers 204 with no body; an id that is not there is 404.

It deletes the record here only. A post that has already published is not retracted from the network by deleting it.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the account or post to act on, taken from the path.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo social posts rm <id>

Social API · All Hanzo APIs · Interactive reference

How is this guide?

On this page