PUT/api/v1/page-templates/order

Reorder templates

Sets the order of a workspace's templates (admins) or, with workspace left out, of your personal ones.

API token required10 per minute per IP
Code samples and Try it

Request body

#

application/json, required

  • workspacestring

    The workspace whose templates these are. Leave it out for your personal ones. 1–64 characters.

  • idsarray of stringRequired

    The templates' ids, in the new order. Up to 200 items.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?