Update Layer Order Rank
update_layer_order_rankReposition a document markup layer to a new order index and receive the updated rank.
Instructions
Update a layer's position using midpoint ranking with float values. company_id and project_id default to the values set by procore_set_config when omitted, and layer_id must identify an existing parent record — resolve it with the matching list tool first. Applies the change and returns the updated layer order rank. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, project_id, layer_id, order_index. Procore API (v2.0): Project Management > Document Markup. Endpoint: POST /rest/v2.0/companies/{company_id}/projects/{project_id}/layers/{layer_id}/reposition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes | URL path parameter — unique identifier of the layer | |
| company_id | Yes | URL path parameter — unique identifier of the company | |
| project_id | Yes | URL path parameter — unique identifier of the project | |
| order_index | Yes | JSON request body field — the order index for this Document Markup operation |