Set the owner's time zone
const url = 'https://your-board.mudda.today/my/timezone.json';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"timezone":"Asia/Kolkata"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://your-board.mudda.today/my/timezone.json \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "timezone": "Asia/Kolkata" }'Saves the zone “today” is reckoned in for tokens. It lasts only until the owner next
loads a page in a browser set to another zone. A missing or blank zone is a 400, and a
name that isn’t a zone a 422.
Scope: write.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
An IANA zone name.
Example
{ "timezone": "Asia/Kolkata"}Responses
Section titled “Responses”Saved.
The body is missing the object a write needs, or isn’t valid JSON.
Every failure’s envelope. request_id matches the X-Request-Id header.
object
Messages keyed by field; base when no field is to blame.
object
Example
{ "errors": { "card": [ "is missing" ] }, "request_id": "5f0c1e9a-2b7d-4c1e-9a63-0e4f8d2b1c55"}No credential, or a revoked or expired token.
Every failure’s envelope. request_id matches the X-Request-Id header.
object
Messages keyed by field; base when no field is to blame.
object
Example
{ "errors": { "base": [ "Unauthorized" ] }, "request_id": "5f0c1e9a-2b7d-4c1e-9a63-0e4f8d2b1c55"}The user is deactivated, the record isn’t yours to change, or the token lacks the scope.
Every failure’s envelope. request_id matches the X-Request-Id header.
object
Messages keyed by field; base when no field is to blame.
object
Example
{ "errors": { "base": [ "This token is not granted the write scope" ] }, "request_id": "5f0c1e9a-2b7d-4c1e-9a63-0e4f8d2b1c55"}Validation failed, a query parameter isn’t recognised, or a filter value is outside its list.
Every failure’s envelope. request_id matches the X-Request-Id header.
object
Messages keyed by field; base when no field is to blame.
object
Example
{ "errors": { "due_on": [ "can't be blank in Todo or Doing" ] }, "request_id": "5f0c1e9a-2b7d-4c1e-9a63-0e4f8d2b1c55"}The token has spent its 600 requests this minute.
Every failure’s envelope. request_id matches the X-Request-Id header.
object
Messages keyed by field; base when no field is to blame.
object
Example
{ "errors": { "base": [ "Rate limit exceeded: 600 requests a minute per token" ] }, "request_id": "5f0c1e9a-2b7d-4c1e-9a63-0e4f8d2b1c55"}Headers
Section titled “Headers”Seconds to wait before retrying.