1. Plan
MediaCP Cloud
  • Channel for customers
    • GET api/channels
      GET
    • POST api/channels
      POST
    • GET api/channels/{id}
      GET
    • PUT api/channels/{id}
      PUT
    • DELETE api/channels/{id}
      DELETE
  • Channel for tenants
    • GET api/tenants/channels
      GET
    • POST api/tenants/customers/{customer_id}/channels
      POST
  • Customer
    • GET api/customers
      GET
    • POST api/customers
      POST
    • GET api/customers/{id}
      GET
    • PUT api/customers/{id}
      PUT
    • DELETE api/customers/{id}
      DELETE
  • LiveEvent
    • GET api/live-events
      GET
    • POST api/live-events
      POST
    • GET api/live-events/{id}
      GET
    • PUT api/live-events/{id}
      PUT
    • DELETE api/live-events/{id}
      DELETE
  • MediaContent
    • Download
      GET
    • PUT api/media-contents/{id}/uploaded
      PUT
    • GET api/media-contents
      GET
    • POST api/media-contents
      POST
    • GET api/media-contents/{id}
      GET
    • PUT api/media-contents/{id}
      PUT
    • DELETE api/media-contents/{id}
      DELETE
  • 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
      GET
    • POST api/plans
      POST
    • GET api/plans/{id}
      GET
    • PUT api/plans/{id}
      PUT
    • DELETE api/plans/{id}
      DELETE
  • 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

PUT api/plans/{id}

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

Header Params

Body Params application/json

Examples

Responses

🟢200
text/plain
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/plans/aut' \
--header 'Accept: application/json' \
--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":"annual","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
GET api/plans/{id}
Next
DELETE api/plans/{id}
Built with