Skala
Units

Update a unit

Partially updates specific fields of an existing unit without affecting the rest of the data.

PATCH
/api/units/{id}

Partially updates specific fields of an existing unit without affecting the rest of the data.

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Unit identifier

Request Body

application/merge-patch+json

The updated Unit resource

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://api.skalasuite.com/api/units/string" \  -H "Content-Type: application/merge-patch+json" \  -d '<name>string</name>'
{
  "id": 0,
  "name": "string",
  "isActive": true,
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}
Empty
Empty
Empty