Update License
PATCH {{baseUrl}}/license/v3/update/{{licenseId}}
This API is associated with updating license on the Sunbird Platform .
- /Update/ endpoint executes the Update License
request based on parameters provided as metadata in the request body.
- The endpoint for Create License is /license/v3/update/{License_Id}
- It points to content-service - /license/v3/update/{License_Id}
- {...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id.
- It is mandatory to provide values for parameters marked with *.
- Mandatory fields cannot be null or empty.
Request Body
{"request"=>{"license"=>{"description"=>"Updated description"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"api.license.update","ver":"3.0","ts":"2020-12-18T12:10:36ZZ","params":{"resmsgid":"18fa41bd-7b8e-4f8b-9028-d17879f60cc6","msgid":null,"err":null,"status":"successful","errmsg":null},"responseCode":"OK","result":{"identifier":"standard-youtube-license","node_id":"standard-youtube-license"}}