Skip to Content
bpms.ai
ReferenceModel

Rename a folder or a model

PATCH
/api/v1/model/nodes/{id}

Renames a live node of the tenant of the request, as the 3.x rename does; nothing else changes. Requires the 3.x authority 2.1.3 or 2.1.4.

Authorization

bearer
headerAuthorizationBearer <token>

The token of a session that createSession opened

Path Parameters

id*integer

Id of the node

Formatint64

Request Body

The new name

application/json
  1. body
name?string

New name of the node, up to 255 characters

Response Body

The renamed node

application/json
  1. response
id?integer
Formatint64
isFolder?boolean
name?string
parent?

The folder that holds the node; absent on a root

Example Request
curl -X PATCH 'https://bpms.bpms.work/api/v1/model/nodes/0' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": 0,  "isFolder": true,  "name": "string",  "parent": {    "id": 0,    "isFolder": true,    "name": "string"  }}