ing.opn.booking.delete
Deletes a booking from the host account. Only a booking that is over, cancelled or declined. Host only.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | booking.opn.ing |
| Commit rev | 3n2ukbsxz2g2l |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Deletes a booking from the host account. Only a booking that is over, cancelled or declined. Host only.",
"errors": [
{
"name": "BookingNotFound"
},
{
"name": "BookingStillActive"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"uid": {
"description": "The booking's id.",
"maxLength": 64,
"type": "string"
}
},
"required": [
"uid"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"uid": {
"description": "The booking's id.",
"maxLength": 64,
"type": "string"
}
},
"required": [
"uid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ing.opn.booking.delete",
"lexicon": 1
}