Newsrooms
Archive Newsroom
Archive a newsroom without deleting its stored content.
Personal token scopes: sites:write. Your account must also have access to the requested data. Authentication
POST
Personal access tokens: sites:write. Every listed scope is required; the token owner's permissions, feature availability and newsroom access still apply.
API_keyheader
AuthorizationBearer <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.
newsroom_id*stringNewsroom UUID or ID
Length
1 <= lengthOK
application/json- response
newsroom*Full newsroom object containing all properties.
curl -X POST 'https://api.prezly.com/v2/newsrooms/string/archive'Example Response200
{ "newsroom": { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "id": 0, "name": "string", "display_name": "string", "domain": "string", "subdomain": "string", "thumbnail_url": "http://example.com", "timezone": "europe/london", "is_hub": true, "is_active": true, "is_archived": true, "is_online": true, "is_offline": true, "is_multilingual": true, "is_indexable": true, "campaigns_number": 0, "stories_number": 0, "url": "http://example.com", "cultures": [ { "code": "en", "name": "string", "direction": "ltr", "language_code": "en", "native_name": "string" } ], "square_logo": { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "version": 0, "filename": "string", "mime_type": "string", "size": 0, "original_width": 0, "original_height": 0, "effects": [ "string" ] }, "newsroom_logo": { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "version": 0, "filename": "string", "mime_type": "string", "size": 0, "original_width": 0, "original_height": 0, "effects": [ "string" ] }, "icon": { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "version": 0, "filename": "string", "mime_type": "string", "size": 0, "original_width": 0, "original_height": 0, "effects": [ "string" ] }, "links": { "media_gallery_api": "http://example.com", "room_contacts_api": "http://example.com", "analytics_and_visibility_settings": "http://example.com", "categories_management": "http://example.com", "company_info_settings": "http://example.com", "contacts_management": "http://example.com", "domain_settings": "http://example.com", "edit": "http://example.com", "gallery_management": "http://example.com", "hub_settings": "http://example.com", "languages": "http://example.com", "look_and_feel_settings": "http://example.com", "privacy_settings": "http://example.com", "widget_settings": "http://example.com" }, "date_format": "string", "time_format": "string", "email_branding_mode": "default", "email_branding": { "background_color": "string", "title_color": "string", "text_color": "string", "link_color": "string" }, "custom_privacy_policy_link": "string", "tracking_policy": "default", "cookiepro": { "is_enabled": true, "category": "string" }, "is_subscription_form_enabled": true, "ga_tracking_id": "string", "custom_data_request_link": "string", "is_white_labeled": true }}