API Method: /api/protection/unprotect
Remove proteciton from a video or stream using one of the built-in protection method.
Parameters
Parameter | Description |
---|---|
object_id (required) | Which object should protection be removed for? |
grace_minutes | Optionally, set how long in minutes the previous protection token is allowed to be used for (default: `0`). |
Permission level
The minimum required permission level is:
write
Example XML Response
<response status="ok" permission_level="write" message="The protection was removed" cached="0"/>
Example JSON Response
{
"status": "ok",
"message":"The protection was removed",
"permission_level":"write",
"cached":"0",
"protection":{},
"p": "1",
"size": "1",
"site": {...},
"endpoint": "/api/protection/unprotect"
}