Update a publisher’s configuration. Only the fields included in the request body are updated — omitted fields remain unchanged.
Path Parameters
The unique identifier of the publisher to update.
Request Body
Set the operational state. One of ready, idle, deactivated. You cannot set deactivated if it is the only non-deactivated publisher on the account.
Default number of Walrus storage epochs. Range: 1–100. Each epoch is approximately 2 weeks.
Whether to batch files into quilts.
Whether blobs are non-deletable.
Whether blobs are shared.
Whether to automatically convert SUI to WAL before upload when WAL balance is insufficient. When true, the publisher swaps SUI → WAL via on-chain DEX at the best available rate.
Attach or detach the publisher to/from an environment. Set to an environment ID to attach, or null to detach and make it an account-level publisher.
Response
Returns the updated publisher object.
Unique publisher identifier.
Current operational state. One of ready, idle, working, deactivated.
Default storage epoch count.
Whether quilt batching is enabled.
Whether blobs are non-deletable.
Whether blobs are shared.
Whether SUI → WAL auto-conversion is enabled.
Attached environment ID, or null.
ISO 8601 last-updated timestamp.
Example
curl -X PATCH https://api.tusky.io/v2/publishers/pub_7f3a2b1c \
-H "Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"epochs": 10,
"quilt": true,
"permanent": false
}'
Response
{
"id": "pub_7f3a2b1c",
"state": "ready",
"epochs": 10,
"quilt": true,
"permanent": false,
"share": false,
"autoConvert": true,
"environmentId": "env_abc123",
"updatedAt": "2026-03-05T15:00:00Z"
}
Changing quilt from true to false (or vice versa) only affects future uploads. Files already published retain their original publishing mode.
You cannot set the last non-deactivated publisher to deactivated. Create another publisher first.