Skip to main content
DELETE
/
api
/
apps
/
marketplaceapplications
/
book
{
  "Status": 123,
  "Message": "<string>",
  "Value": {},
  "RedirectURL": "<any>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "Errors": "<any>",
  "WasSuccessful": true
}

📆Delete resource booking

Deletes a boking based on the booking unique Id and the marketplace which made it.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header.

Request Body

booking_id
string
required
The id of the booking to delete.
marketplace_id
string
required
The id of the marketplace performing this action

Response

200

Status
integer
Example: 200
Message
string
Example: Booking "Example" was successfully deleted.
Value
object
RedirectURL
any
UpdatedOn
string
Example: 2021-04-15T12:19:07Z
UpdatedBy
string
Example: john@example.com
Errors
any
WasSuccessful
boolean
Example: true
Example Response
{
  "Status": 200,
  "Message": "Booking \"Example\" was successfully deleted.",
  "Value": {
    "Id": 10605
  },
  "RedirectURL": null,
  "UpdatedOn": "2021-04-15T12:19:07Z",
  "UpdatedBy": "john@example.com",
  "Errors": null,
  "WasSuccessful": true
}

Example Request

curl -X DELETE \
  "https://spaces.nexudus.com/api/apps/marketplaceapplications/book" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'