Update Publisher

PATCH {{host}}/api/dialcode/v1/publisher/update/{{publisherId}}

This API is associated with creating a publisher. A publisher owns the DIAL code.

The endpoint for Create Publisher is /dialcode/v1/publisher/create It points to knowledge-mw-service - v1/dialcode/publisher/create

Request Body

{"request"=>{"publisher"=>{"name"=>"Sunbird Test Publisher Update"}}}

HEADERS

KeyDatatypeRequiredDescription
X-Channel-IDstring
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{"id":"api.publisher.update","ver":"1.0","ts":"2023-01-27T06:54:08.438Z","params":{"resmsgid":"6595fd60-9e0f-11ed-827a-edd2af60aa77","msgid":"6594c4e0-9e0f-11ed-a17d-b3ade16c7a73","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"identifier":"sunbird_test_publisher_43"}}