Link relation protection:set-reservation

New in MC | Cloud UX 2024.10

Overview

Sets a reservation. If a reservation already exists, the expiration date of the reservation is updated.

The link rel is only supported for the following entities:

  • MC|PM: Folders. A reservation is created or updated for the caller.

  • MC|AM: Assets, and references to existing assets in a folder.

HTTP method

PUT

URI template variables

-

Query parameters

-

Request body

A JSON object with the following property:

expiration

Expiration time. If the value is null or the property is missing, the reservation doesn’t expire.

Example:

{
  "expiration": "2024-12-24T00:00:00Z"
}

HTTP response

204 No response

The reservation has been created or updated successfully.

403 Forbidden

The caller has no read permission for the asset or location item, or no permission to set a reservation.

404 Not Found

The asset or location item doesn’t exist or the service or an intermediate resource is not available.

Response body

-

Available in