put
https://api.jmapcloud.io/api/mcs/rest/v1/organizations//projects//layers//attributes-order
Sets the display order of the attributes of a layer.
Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.
ids is the complete list of the ids of the layer's attributes (as returned by GET .../layers/{layer}), in the new order. Each id must appear exactly once: a missing, unknown or repeated id returns 400. The attributes added by relationships are part of the list.
The order of a referenced layer can't be changed (400): it comes from the source layer.
Response
result is the list of the attribute ids, in the new order.
Organization
organization must be the organization of the access token, and the project must belong to it; otherwise the request returns 404.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…