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 Body
body
UpdateAccountRequest
Reference Type: UpdateAccountRequest

Account update payload

Response

object of Account

Reference Type:  Account

postal_code
string
Postal or ZIP code
example: 10115
verified
boolean
Indicates if the account is verified
example: true
id
integer
Unique identifier for the account
example: 2321
tax_id
string
Tax identification number
example: DE123456789
auto_pay
boolean
Indicates if automatic payments are enabled
example: false
city
string
City of the account
example: Berlin
company
string
Company name associated with the account
example: Serverista
country
string
Country of the account
example: Germany
created_at
string
Timestamp when the account was created
example: 2023-01-01T12:00:00Z
phone
string
Contact phone number
example: +49 30 123456
address
string
Street address of the account
example: 123 Main Street
credits
integer
Available credits for the account
example: 1500
state
string
State or province
example: Berlin
updated_at
string
Timestamp when the account was last updated
example: 2023-01-10T12:00:00Z
name
string
Full name of the account owner
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
}