Skip to main content
PATCH
http://localhost:3000
/
resources
/
{id}
curl -X PATCH 'https://api.example.com/resources/resource_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "displayName": "Updated Project Roadmap"
  }'
{
  "id": "resource_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
  "resourceTypeId": "resource_type_document",
  "scopeId": "scope_engineering",
  "externalResourceId": "doc-123",
  "displayName": "Updated Project Roadmap",
  "createdAt": "2024-01-15T10:30:00Z",
  "createdBy": "user-1"
}

Path Parameters

id
string
required
ID of the resource to update

Request Body

displayName
string
Display name for the resource

Response

Returns the updated resource object.
curl -X PATCH 'https://api.example.com/resources/resource_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "displayName": "Updated Project Roadmap"
  }'
{
  "id": "resource_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
  "resourceTypeId": "resource_type_document",
  "scopeId": "scope_engineering",
  "externalResourceId": "doc-123",
  "displayName": "Updated Project Roadmap",
  "createdAt": "2024-01-15T10:30:00Z",
  "createdBy": "user-1"
}