cURL
curl --request PUT \ --url https://api.nugen.in/api/v3/documents/{id}/categories \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "categories": [ "<string>" ] } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Add a new document category.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request model for updating document categories
List of categories to be assigned to the document
Successful Response
Was this page helpful?