Skip to main content
PATCH
/
resources
/
{id}
Update a resource
curl --request PATCH \
  --url https://api.rntor.com/v1/resources/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Client-ID: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "capacity": 123,
  "is_active": true,
  "hourly_rate": 123,
  "daily_rate": 123
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "Meeting Room A",
    "description": "Large conference room with AV equipment",
    "type": "meeting_room",
    "capacity": 12,
    "location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "hourly_rate": 25,
    "daily_rate": 150,
    "is_active": true,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "meta": {
    "request_id": "req_abc123def456",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Your API client secret

X-Client-ID
string
header
required

Your API client ID

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
description
string
capacity
integer
is_active
boolean
hourly_rate
number
daily_rate
number

Response

Resource updated

data
object
meta
object