Genbase
ApiModule

Update module path

PUT
/module/{module_id}/path

Authorization

AuthorizationRequiredBearer <token>

JWT Token for authenticated users (obtained via /auth/jwt/login).

In: header

Request Body

application/jsonRequired
pathRequiredstring
Pattern: "^[a-zA-Z0-9]+(\\.[a-zA-Z0-9]+)*$"
project_idRequiredstring
Format: "uuid"

Path Parameters

module_idRequiredstring

Module ID

curl -X PUT "http://localhost:8000/module/string/path" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "path": "string",
    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"
  }'

Generic success response

{
  "status": "success",
  "message": "string"
}