API

Update user fiscalization status

Updates the fiscalization status for the user to the specified value.

POST/v1/hq/fiscalizations/users/{user_id}/status

Authorization

BearerTokenAuth

AuthorizationBearer <token>

The Noona HQ API uses Bearer token for authentication.

Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.

Authorization: Bearer your-token

In: header

Path Parameters

user_id*string

User ID

Request Body

application/json

fiscalization_enabled*boolean

The desired fiscalization enabled status

Exampletrue

Response Body

application/json

curl -X POST "https://api.noona.is/v1/hq/fiscalizations/users/string/status" \  -H "Content-Type: application/json" \  -d '{    "fiscalization_enabled": true  }'
{
  "fiscalization_enabled": true
}
Empty
Empty
Empty
Empty
Empty