cURL
curl --request PATCH \ --url https://api.nugen.in/api/v3/documents/categories/edit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "old_name": "<string>", "new_name": "<string>" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Edit the name of an existing category across all user documents.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request model for editing category name
Successful Response
Was this page helpful?