Archive one bookable
Archives the bookable so it is kept for history but excluded from search. Idempotent — archiving an archived entity still returns it. Entities are never hard-deleted through the API
JWTAuthorizationBearer <JWT>Bearer JWT. Required on every endpoint except /health
type*stringCustomer-defined entity type, e.g. "listing" or "doctor"
^[a-z][a-z0-9_]{0,63}$externalId*stringThe entity's id in the customer's database
1 <= length <= 255The archived bookable
application/json- response
id*stringServer-assigned unique identifier
uuidobject*stringWhich resource this entity is — its role
"bookable""participant"type*EntityTypeCustomer-defined entity type. Lowercase, created on first use, bound to one role per project
^[a-z][a-z0-9_]{0,63}$externalId*stringThe entity's id in the customer's database
name*stringstatus*string"active""archived"attributes*Free-form JSON describing the entity. Indexed and filterable. Keys match ^[A-Za-z][A-Za-z0-9_]{0,63}$; ≤ 32 KB serialized; nesting depth ≤ 4
createdAt*stringdate-timeupdatedAt*stringdate-timecurl -X DELETE 'https://api.slotr.dev/v1/bookables/string/string'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "bookable", "type": "string", "externalId": "string", "name": "string", "status": "active", "attributes": {}, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Create or replace one bookable PUT
Creates the bookable or fully replaces its name, status and attributes, keyed by type and externalId. Use it to index or update a single object from your database; the type is created on first use. Sending status active restores an archived entity
Service and dependency health GET
Next Page