DELETE/ng-cms/media/{projectId}/{mediaId}

Delete a media asset

Параметры запроса

projectIdstring
Обязательный

The unique identifier of the project (bucket)

mediaIdstring
Обязательный

The unique identifier of the media asset to delete

Ответы

200Media asset deleted successfully.

тип: ApiResponse<boolean>

successbooleanIndicates whether the request was successful
resultbooleanAlways true on success
errorsErrorDetail[]List of errors (empty on success)
401Unauthorized. A valid bearer token is required.
404Not Found. No media asset exists with the given ID.
412Precondition Failed. The project's current plan does not allow access to this resource, or payment is required to proceed.
500Unexpected server error.

тип: ApiResponse<T>

successbooleanAlways false
errorsErrorDetail[]List of server-side errors
correlationIdstringUnique ID for tracing the error
messagestringError message
stackstringStack trace (non-production only)

Оставаясь на сайте, Вы даете свое согласие на использование файлов cookie