OpenTV ENTera & OpenTV Platform Documentation
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2

Deleting a user profile icon

Request

To delete a user profile icon, send a DELETE request to:

Bash
https://<host>:<port>/imagemetadata/v1/profile/{resourceId}

This deletes the icon and its metadata.

Headers

Mandatory arguments

The following argument is in the URL:

  • resourceId – the resource ID that the icon was uploaded with (for example, smileyface)

Other arguments

None.

Example

This request deletes the icon with the resource ID smileyface:

Bash
https://<host>:<port>/imagemetadata/v1/profile/smileyface

Response

A successful request returns an HTTP 200 status.

A bad request returns an HTTP 400 status.

An unauthorised request returns an HTTP 401 status – for example, if the access token is invalid or has expired.

A forbidden request returns an HTTP 403 status – for example, if the access token is missing or the user does not have the adminRole role.

See also

For full details of this API, see the Image Metadata Service (IMDS) API documentation.