Edit the text of a published post at the platform
PATCH
http://localhost:4000/api/v1 /posts/{id}/published Parameters
idstring
path
required
Request body
application/json
channelIdstring
textstring
required
{
"channelId": "string",
"text": "string"
}Code samples
cURL
curl -X PATCH "http://localhost:4000/api/v1/posts/{id}/published" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"channelId":"string","text":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated