Skip to main content
PUT
Reorder all layers in one request

Authorizations

Authorization
string
header
required

Personal API key (mkx_...) created from the MapX account.

Path Parameters

id
string
required

Project UUID.

Body

application/json
layer_ids
string[]
required

Layer ids in the desired draw order (first = rendered on top). Must contain exactly the current set of layer ids of the project.

Minimum array length: 1

Layer UUID.

Response

Layer order updated.

ok
boolean
required