Post routes: update
The Post Verbs update as api.sb routes, with inputs, result, refusals and an example.
Reference for Post, one group of Post routes.
Post.update
Changes the given properties of a Post. Verb page.
PATCH /{namespace}/ posts/ {id}Path: id. Body, as JSON: the other inputs. Emits Post.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Post. |
format | string | The venue’s format, such as shortVideo or thread. | |
publishAt | datetime | When it goes out. | |
claims | json | The facts it states, each resolving to a record. | |
reach | integer | How many people saw it, as the venue reports. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
post | Post | required | The Post. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
curl -X PATCH https: //api.sb/ leaseline.app/ posts/ post_HiXn57rBdP \
-H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
-H "Content-Type: application/ json" \
-d '{"publishAt": "2026-10-22T12: 00: 00Z"}'{
"api": "https: //api.sb/ leaseline.app",
"post": {
"$id": "https: //api.sb/ leaseline.app/ posts/ post_HiXn57rBdP",
"$type": "Post",
"format": "Example format",
"status": "draft",
"publishAt": "2026-10-22T12: 00: 00Z"
},
"action": {
"$id": "https: //api.sb/ leaseline.app/ actions/ act_br07HsG8MG",
"operation": "Post.update",
"status": "done"
},
"links": {
"self": "https: //api.sb/ leaseline.app/ actions/ act_br07HsG8MG"
}
}