1. Plan
MediaCP Cloud
  • Documentation
    • Channel for customers
      • getApiChannels
      • postApiChannels
      • getApiChannelsId
      • putApiChannelsId
      • deleteApiChannelsId
    • Channel for tenants
      • getApiTenantsChannels
      • postApiTenantsCustomersCustomer_idChannels
    • Customer
      • getApiCustomers
      • postApiCustomers
      • getApiCustomersId
      • putApiCustomersId
      • deleteApiCustomersId
    • LiveEvent
      • postApiLiveEvents
      • getApiLiveEventsId
      • deleteApiLiveEventsId
      • getApiLiveEvents
      • putApiLiveEventsId
    • MediaContent
      • Download
      • PUT api/media-contents/{id}/uploaded
      • getApiMediaContents
      • postApiMediaContents
      • getApiMediaContentsId
      • putApiMediaContentsId
      • deleteApiMediaContentsId
    • MediaContent Tags
      • List tags attached to a MediaContent.
      • Attach a tag to a MediaContent.
      • Detach a tag from a MediaContent.
      • GET api/tags
      • POST api/tags
      • GET api/tags/{tag}
      • PUT,PATCH api/tags/{tag}
      • DELETE api/tags/{tag}
      • GET api/media-contents/{mediaContent}/tags
      • POST api/media-contents/{mediaContent}/tags
      • DELETE api/media-contents/{mediaContent}/tags/{tag}
    • Plan
      • getApiPlans
        GET
      • postApiPlans
        POST
      • getApiPlansId
        GET
      • putApiPlansId
        PUT
      • deleteApiPlansId
        DELETE
    • Publisher
      • getApiChannelsChannel_idPublishers
      • postApiChannelsChannel_idPublishers
      • getApiChannelsChannel_idPublishersId
      • putApiChannelsChannel_idPublishersId
      • deleteApiChannelsChannel_idPublishersId
    • Team member
      • getApiTeamMembers
      • postApiTeamMembers
      • getApiTeamMembersId
      • putApiTeamMembersId
      • deleteApiTeamMembersId
  • MCP Cloud Video
    • Channel for customers
      • GET api/channels
      • POST api/channels
      • GET api/channels/{id}
      • PUT api/channels/{id}
      • DELETE api/channels/{id}
    • Channel for tenants
      • GET api/tenants/channels
      • POST api/tenants/customers/{customer_id}/channels
    • Customer
      • GET api/customers
      • POST api/customers
      • GET api/customers/{id}
      • PUT api/customers/{id}
      • DELETE api/customers/{id}
    • LiveEvent
      • GET api/live-events
      • POST api/live-events
      • GET api/live-events/{id}
      • PUT api/live-events/{id}
      • DELETE api/live-events/{id}
    • MediaContent
      • Download
      • PUT api/media-contents/{id}/uploaded
      • GET api/media-contents
      • POST api/media-contents
      • GET api/media-contents/{id}
      • PUT api/media-contents/{id}
      • DELETE api/media-contents/{id}
    • MediaContent Tags
      • GET api/tags
      • POST api/tags
      • GET api/tags/{tag}
      • PUT,PATCH api/tags/{tag}
      • DELETE api/tags/{tag}
      • GET api/media-contents/{mediaContent}/tags
      • POST api/media-contents/{mediaContent}/tags
      • DELETE api/media-contents/{mediaContent}/tags/{tag}
    • Plan
      • GET api/plans
      • POST api/plans
      • GET api/plans/{id}
      • PUT api/plans/{id}
      • DELETE api/plans/{id}
    • Publisher
      • GET api/channels/{channel_id}/publishers
      • POST api/channels/{channel_id}/publishers
      • GET api/channels/{channel_id}/publishers/{id}
      • PUT api/channels/{channel_id}/publishers/{id}
      • DELETE api/channels/{channel_id}/publishers/{id}
    • Team member
      • GET api/team-members
      • POST api/team-members
      • GET api/team-members/{id}
      • PUT api/team-members/{id}
      • DELETE api/team-members/{id}
  1. Plan

putApiPlansId

PUT
/api/plans/{id}

Request

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

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/plans/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "name": "rlhmwly",
    "allow_live": false,
    "allow_tv": true,
    "allow_relay": false,
    "allow_vod": true,
    "allow_transcoder": false,
    "allow_publishing": false,
    "allow_recording": true,
    "allow_rewind": true,
    "allow_fallback": true,
    "allow_paywall": true,
    "channels_limit": 68,
    "bitrate": 21,
    "storage": 66,
    "cdn_bandwidth": 9,
    "bandwidth_period": "monthly",
    "egress_bandwidth": 21,
    "transcoder_channels": 40,
    "transcoder_hours": 51
}'
Response Response Example
{
    "id": "44b0b4d3-0680-4819-a89a-993404829e37",
    "name": "Trinidad and Tobago 2095657285",
    "channels_limit": 5,
    "bitrate": 4096,
    "storage": 63,
    "allow_paywall": true,
    "cdn_bandwidth": 203,
    "egress_bandwidth": 875,
    "bandwidth_period": "monthly"
}
Previous
getApiPlansId
Next
deleteApiPlansId
Built with