FruxonDocs
ApiCapabilities

Partial update of a capability's name/area/description.

Patches a capability in place — only the fields present in the request are changed; null fields are left untouched. Yields `404 Not Found` when the capability does not exist. Returns the updated capability.

PATCH
/v1/tenants/{tenant}/capabilities/{capability}
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

capability*string

The capability identifier.

Formatuuid
tenant*string

The tenant identifier

The patch payload — null fields are left unchanged.

name?string|null

New canonical name. Null leaves it unchanged.

area?string|null

New grouping label. Null leaves it unchanged.

description?string|null

New description. Null leaves it unchanged.

[key: string]?never

Response Body

curl -X PATCH "https://api.fruxon.com/v1/tenants/string/capabilities/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "name": "string",
  "area": "string",
  "description": "string",
  "createdAt": 0,
  "modifiedAt": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}