⚫ Toggles the 'enabled' attribute for an APIUser.

By changing the state of the 'enabled' attribute you can grant or prevent a user to gain access to the main intake endpoints. Furthermore, you can preventing them to consume monthly credits or account for the total Monthly Active Users (MAUs).

 

Alternatively, you can change the 'enabled' attribute through the 'Users' page after logging in to your account at LogMeal's web page.

 

If an APIUser is DISABLED and tries to make an API call to a privileged endpoint an HTTP error will be received with status code 403 and custom error code 116.

 

You can check the status of the 'enable' attribute calling the endpoint GET '/v2/users/APIUsers'.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the APIUser.

Responses

401

Unauthorized, invalid token

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json