The Users API allows management of user accounts within the GSM Application. Currently, the primary mutation available to clients is updating a user’s password. The request requires both the current password (for verification) and the desired new password. TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ti-infinite/GSMApplication/llms.txt
Use this file to discover all available pages before exploring further.
idUser is a GUID path parameter that uniquely identifies the target user across all tenants.
Endpoint
Authentication
All requests to this endpoint require a valid Bearer token. The token can be supplied as anAuthorization header or as the gsm_token cookie.
Bearer token obtained during login. Format:
Bearer <token>
Note: The API gateway automatically injects the X-Company-Id header from the authenticated session. Clients must never set this header directly.
Path Parameters
The GUID of the user whose password should be updated. Must be a valid UUID format (e.g.
3fa85f64-5717-4562-b3fc-2c963f66afa6).Request Body
The request body must be a JSON object containing the user’s current and new passwords.The user’s current password. This is verified before any change is applied. The request fails if the current password does not match.
The desired new password. Password policy (minimum length, complexity) is enforced server-side.
Example Request Body
Response
All responses are wrapped in the standardApiResponse<T> envelope:
Response Fields
true if the password was successfully updated; false otherwise.Human-readable status message. On failure, describes the reason (e.g. current password mismatch, user not found).
This endpoint does not return a data payload on success.
Present when
success is false. Common values: Validation, NotFound, Unauthorized.Optional correlation ID for request tracing across services.
Optional extended error detail message.
HTTP Status Codes
| Code | Meaning |
|---|---|
200 OK | Request processed. Check success in the response body — the operation result (success or validation error) is always communicated in the body. |
400 Bad Request | The request body is malformed or required fields are missing. |
401 Unauthorized | The Bearer token is missing, expired, or invalid. |
404 Not Found | No user with the given idUser GUID exists. |