Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password Example:Authorization: Basic *****************
Body Params application/json
{
"category": {
"name": "string",
"description": "string",
"icon": "string",
"parentCategoryId": "string"
}
}
Request Code Samples
curl --location --request PUT 'http://localhost:8000/category/category/' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"category": {
"name": "string",
"description": "string",
"icon": "string",
"parentCategoryId": "string"
}
}'
Responses
{
"code": 0,
"result": {
"id": "string",
"breadcrumbs": [
[
"string"
]
],
"name": "string",
"description": "string",
"icon": "string",
"type": "GENERIC",
"parentCategoryId": "string",
"uid": "string"
},
"error": "string"
}
Modified at 2026-01-25 17:00:43