Link relation protection:set-reservation-for-user

New in MC | Cloud UX 2024.10

Overview

Sets a reservation in the name of a given user.

The link rel is currently only supported for MC|PM folders and only if the caller has administrative permissions.

HTTP method

PUT

URI template variables

-

Query parameters

-

Request body

A JSON object with the following properties:

creator

The user account name for which the reservation is created. If null or missing, the reservation is created for the caller.

expiration

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

Example:

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

HTTP response

204 No Content

The reservation has been created or updated successfully.

403 Forbidden

The caller doesn’t have administrative permissions.

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