Skala
Resources

Replace a resource

Completely replaces the data of an existing resource with the provided payload.

PUT
/api/resources/{id}

Completely replaces the data of an existing resource with the provided payload.

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Resource identifier

Request Body

application/json

The updated Resource resource

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://api.skalasuite.com/api/resources/string" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "id": 0,
  "name": "string",
  "price": "string",
  "isActive": true,
  "useActualCost": true
}
Empty
Empty
Empty