A resource is an object that can be bookable on the Kalenda platform. Resources can be anything from a meeting room to a piece of equipment. Resources can be created, updated, and deleted using the Kalenda API.
Examples of resources include:
GET /v1/resources
POST /v1/resources
GET /v1/resources/{id}
PUT /v1/resources/{id}
DELETE /v1/resources/{id}
A resource object represents a resource on the Kalenda platform. It has the following properties:
id
(string): The unique identifier for the resource.name
(string): The name of the resource.description
(string): A description of the resource.{
"id": "f0acfb18-47ab-4f63-900b-0db374328051",
"name": "Meeting Room 1",
"description": "A small meeting room"
}
To create a resource, send a POST
request to the /v1/resources
endpoint with the following JSON payload:
{
"name": "Meeting Room 1",
"description": "A small meeting room"
}
To update a resource, send a PUT
request to the /v1/resources/{id}
endpoint with the following JSON payload:
{
"name": "Meeting Room 2",
"description": "A medium meeting room"
}
To delete a resource, send a DELETE
request to the /v1/resources/{id}
endpoint.
curl -X DELETE https://api.kalenda.io/v1/resources/f0acfb18-47ab-4f63-900b-0db374328051