- Connect/ConnectID API Reference
- Overview
- Customer Data
- Address
- Category
- Customer
- External Reference
- Order Management
- Payment Services
- Privacy
- Consent
- Access private data
- Remove private data
- List consent event history - client mode
- List consent text - client mode
- List consent text history - client mode
- List consent groups - client mode
- List consent given issuer - client mode
- List consent event history
- List consent given issuer
- List consent groups
- Register consent event - client mode
- Register consent event
- Permission/Shield
- Privacy
- Consent
- Product & Services
- Complaint
- Delivery
- DeliveryStop
- Issue
- Product
- ProductDeliveryPlan
- ProductDependency
- Sharing
- Send subscription share invitationPOST
- Accept subscription share invitationPATCH
- Decline share - client modePATCH
- List shareable subscription rulesGET
- List distribution levelsGET
- Change subscription share invitation detailsPATCH
- List all shared subscribersGET
- Cancel sharingPATCH
- List shareable subscription netsGET
- Change shareable subscription netsPOST
- Change distribution levelPATCH
- Subscription
- Recruitment
- User Data
- Diverse
Cancel sharing
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
PATCH
/v1/subscription/share
Sharing
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.mediaconnect.no/capi/v1/subscription/share' \
--header 'Content-Type: application/json' \
--data-raw '{
"shareCode": "123AFDG",
"changeType": "CANCEL"
}'
Response Response Example
200 - Success
{
"status": "SHARING_ENDED"
}
Request
Authorization
OAuth 2.0
Authorization Code
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Authorize URL: https://connectid.no/user/oauth/authorize
Token URL: https://connectid.no/user/oauth/token
Refresh URL: https://connectid.no/user/oauth/token
Scopes:
read
-For all accessor
Body Params application/json
shareCode
stringÂ
required
<= 255 characters
changeType
enum<string>Â
required
Allowed value:
CANCEL
Examples
Responses
🟢200OK
application/json
Body
status
enum<string>Â
required
Allowed values:
SHARE_OKNO_SUBSCRIPTIONSUBSCRIPTION_STOPPEDREQUEST_ACCEPTEDREQUEST_DECLINEDSHARING_ENDEDSHARE_CODE_NOT_FOUNDSHARE_CHANGE_TYPE_NOT_SUPPORTEDALREADY_IN_USESHARE_LIMITINVITATIONS_POOL_EXHAUSTED
🟠400Bad Request
🟠429429
🔴500Server Error