Enable/Disable Media Endlink

These API endpoints allow you to enable or disable a media endlink.


Endpoints

Request:

bashCopyEditcurl --location --request POST '{{BASE-URL}}/api/endlink/{{endlink-hash}}/disable' \
--header 'Authorization: Bearer {{YOUR-ACCESS-TOKEN}}'

Request:

bashCopyEditcurl --location --request POST '{{BASE-URL}}/api/endlink/{{endlink-hash}}/enable' \
--header 'Authorization: Bearer {{YOUR-ACCESS-TOKEN}}'

Parameters to Replace

Parameter
Description

{{BASE-URL}}

API base URL: • RC: https://sdk-mobile-api-rc.truvideo.com • Prod: https://sdk-mobile-api.truvideo.com

{{YOUR-ACCESS-TOKEN}}

Access token generated from [SDK Mobile] - Generate an API Token documentation.

{{endlink-hash}}

The unique hash of the endlink. Example: 3722D646C3F3516B953583FFBA3C46CE55E35D10A9142361ABD28CA3929E46F0


Response Codes

Status Code
Error Message
Description

401

Unauthorized

Missing or invalid authentication token.

403

Forbidden

User does not have the required permissions.

404

SubAccount has not been found with id: {id}

The sub-account does not exist.

400

Environment is not a multi-tenant

The action cannot be performed in a non-multi-tenant environment.


Notes

  • This endpoint is idempotent: calling it multiple times has the same effect as calling it once.

  • Ensure that the user has the correct roles and permissions before using this endpoint.

Last updated