Unicat API Reference

Up - API Reference - Home


/api/p/<project gid>/modules/unregister

Requires JWT

Unregister a module.

Keys, actions, and logs for the module are deleted too.

Request

POST /api/p/<project gid>/modules/unregister
Authorization: Bearer <JWT>

{
    "module": "Update Catalog",
}

module name of the module to register

Success response

Authorization: <JWT>

{
    "success": true,
    "result": {},
    "data": {}
}

Error responses

400 Bad request - missing parameters or wrong type or value
401 Unauthorized - missing or expired JWT
403 Forbidden - not a member of this project
422 Unprocessable entity - module not registered