Skip to contentDevelopersPrezly website
Galleries

Delete Newsroom Gallery

Delete the selected gallery from its newsroom.

Personal token scopes: sites:write. Your account must also have access to the requested data. Authentication

Read the guide

DELETE
/newsrooms/{newsroom_id}/galleries/{id}

Personal access tokens: sites:write. Every listed scope is required; the token owner's permissions, feature availability and newsroom access still apply.

Authorization

API_key
headerAuthorizationBearer <token>

Bearer authentication using an integration API key, or a personal access token only where the operation explicitly supports it. Every listed personal-token scope is required; owner permissions and newsroom access still apply.

Path Parameters

newsroom_id*string

Newsroom UUID or ID

Length1 <= length
id*string

Gallery UUID

Response Body

No Content

Example Request
curl -X DELETE 'https://api.prezly.com/v2/newsrooms/string/galleries/string'
Example Response204
Empty