Core Resources
Accounts
Manage and retrieve information about your Serverista account.
Update account
Updates the authenticated user's account
Accepts: application/json
Returns: application/json
Parameters
Request Bodybody
UpdateAccountRequest
Response
object of AccountReference Type: Account
postal_code
string
Postal or ZIP code
example: 10115
example: 10115
verified
boolean
Indicates if the account is verified
example: true
example: true
id
integer
Unique identifier for the account
example: 2321
example: 2321
tax_id
string
Tax identification number
example: DE123456789
example: DE123456789
auto_pay
boolean
Indicates if automatic payments are enabled
example: false
example: false
city
string
City of the account
example: Berlin
example: Berlin
company
string
Company name associated with the account
example: Serverista
example: Serverista
country
string
Country of the account
example: Germany
example: Germany
created_at
string
Timestamp when the account was created
example: 2023-01-01T12:00:00Z
example: 2023-01-01T12:00:00Z
phone
string
Contact phone number
example: +49 30 123456
example: +49 30 123456
address
string
Street address of the account
example: 123 Main Street
example: 123 Main Street
credits
integer
Available credits for the account
example: 1500
example: 1500
state
string
State or province
example: Berlin
example: Berlin
updated_at
string
Timestamp when the account was last updated
example: 2023-01-10T12:00:00Z
example: 2023-01-10T12:00:00Z
name
string
Full name of the account owner
example: John Doe
example: John Doe
POST /v1/users/account
curl -X POST https://api.serverista.com/v1/users/account \
-H "Authorization: ApiKey YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d ''
Response
{
"address": "example_address",
"auto_pay": true,
"city": "example_city",
"company": "example_company",
"country": "example_country",
"created_at": "example_created_at",
"credits": 123,
"id": 123,
"name": "example_name",
"phone": "example_phone",
"postal_code": "example_postal_code",
"state": "example_state",
"tax_id": "example_tax_id",
"updated_at": "example_updated_at",
"verified": true
}