- 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
Decline share - client mode
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
PATCH
/v1/client/subscription/share/invitation
Sharing
NB:
changeType
in the request has to be DECLINERequest Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.mediaconnect.no/capi/v1/client/subscription/share/invitation' \
--header 'Content-Type: application/json' \
--data-raw '{
"shareCode": "32479VSA",
"changeType": "DECLINE"
}'
Response Response Example
200 - Success
{
"status": "5"
}
Request
Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
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:
DECLINE
Examples
Responses
🟢200OK
application/json
Body
status
enum<string>Â
required
Allowed values:
1234567
🟠400Bad Request
🟠429429
🔴500Server Error