User Endpoints
Returns information about the authenticated user
Authorizations
Responses
200
Successful operation
application/json
401
Authentication error
application/json
get
GET /v2/user HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "User data were successfully charged",
"user": {
"userID": "803658045736878080",
"totalRamMb": 16384,
"ramUsedMb": 3386,
"subdomains": [
"exemplo"
],
"customdomains": [
"example.discloud.com"
],
"apps": [
"1719010867306"
],
"plan": "Safira",
"locale": "pt-BR",
"lastDataLeft": {
"days": 264,
"hours": 12,
"minutes": 6,
"seconds": 56
},
"planDataEnd": "2026-01-12T22:28:58.189Z"
}
}
Updates the user's preferred language/locale
Authorizations
Path parameters
localestring · enumRequiredPossible values:
The locale to set for the user
Responses
200
Locale successfully updated
application/json
401
Authentication error
application/json
404
Invalid locale specified
application/json
put
PUT /v2/locale/{locale} HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"locale": "en-US"
}
Last updated