Reader API
  1. Topics
Reader API
  • Welcome to Omerlo
  • Authorization - OAuth 2
    • Client Credentials flow
      POST
    • Authorization Code flow
      POST
    • Refresh Token flow
      POST
    • Verify oauth user
      POST
    • User info
      GET
  • Accounts
    • User info
      GET
    • User entitlements
      GET
  • Announcements
    • Paginated Announcement list
      GET
    • Announcement by id
      GET
  • Categories
    • Paginated categories list
      GET
    • Category by id
      GET
  • Contents
    • Paginated Contents
      GET
    • Content by id
      GET
  • Devices
    • Register a device
      POST
  • Distributions
    • Releases
      • Paginated Release list
      • Release by id
    • Paginated Distribution list
      GET
    • Distribution by id
      GET
  • Issues
    • Issue by id
      GET
    • List Contents in Issue Section
      GET
    • Search Contents in Issue
      GET
    • Issue Section Blocks by section_id
      GET
  • Oauth Providers
    • List providers
  • Mailer
    • Send email
  • Menus
    • Menu by key
  • Sections
    • Section by id
    • Paginated Contents by Section id
  • Topics
    • List topics
      GET
    • Subscribe
      POST
    • Unsubscribe
      POST
  • Webpages
    • Paginated webpages list
    • Webpage by id
  • Media overview
    GET
  • Schemas
    • ReaderHub
      • Distribution
        • Distribution
        • Distribution (summary)
        • Release
        • Release (summary)
      • Issue
        • Issue
        • Issue (summary)
        • Issue Section
        • Issue Section (summary)
        • SectionContent
        • Issue Block
        • Issue BlockConfiguration (summary)
        • IssueType (summary)
      • Profile
        • ProfileType (summary)
        • Profile (summary)
        • Organization (summary)
        • Person (summary)
      • Content
        • Blocks
          • Block kind Data
          • Block kind HTML
          • Block kind Image
          • Block kind Question
          • Block kind Quote
          • Block kind Related Contents
          • Block kind Richtext
          • Block kind Slideshow
          • Block kind Video
        • Author (summary)
        • Content Template (summary)
        • Content Block
        • Content Block Template (summary)
        • Content
        • Content (summary)
      • Media
        • Announcement
        • Announcement (summary)
        • Menu
        • Menu Item
        • Media Block (summary)
        • Media BlockConfiguration (summary)
        • Media Section
        • Media Section (summary)
        • Topic (summary)
        • Webpage
        • Webpage (summary)
        • Media
      • OauthProviderSummary
    • Common
      • Visual
        • Image
        • Slideshow
        • Video
      • PagingMeta
      • Metadata
      • LocalesMetadata
      • Visual
      • Category
      • Category (summary)
  1. Topics

Unsubscribe

POST
https:/omerlo.com/api/media/v1/topics/{topic_id}/unsubscribe

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Examples

Responses

🟢204No Content
application/json
Body

🟠400Missing x-omerlo header
🟠400Bad Request
🟠401Authorization
🔴501Not Implemented
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https/omerlo.com/api/media/v1/topics/{{omerlo_topic_id}}/unsubscribe' \
--header 'x-omerlo-media-id: {{omerlo_media_id}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "push_token": "fiplZDGx2nSega7AgtrAPu:APA91bHOCxr0MauHQBUrf0CcGpsJh3d8vdiAuE5KeweIR99vtvcj1uGGQs5s4jyiu7N7i7xHgZ0nkJlPCuWuE9MppuYGiB8BQA_DfprdaZz_A8F6wD755BA"
}'
Response Response Example
204 - Example 1
{}
Previous
Subscribe
Next
Paginated webpages list
Built with