Skip to main content
POST
/
api
/
category-sets
/
{id}
/
activate
Activate category set
curl --request POST \
  --url https://api.ai2fin.com/api/category-sets/{id}/activate \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "previousActiveSetId": "<string>",
  "newActiveSetId": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token obtained from /api/auth/login endpoint

Path Parameters

id
string
required

Response

Category set activated

success
boolean
previousActiveSetId
string
newActiveSetId
string
message
string