Set the order of the attributes of a layer

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the project

uuid
required

Id of the layer (a layer of the project)

Body Params

All the attribute ids of the layer, in the new order

ids
array of uuids
ids
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json