⚙️
Cloudnode Documentation
API v4
API v4
  • Cloudnode v4 API Docs
  • Quick Start
  • Token Permission Nodes
  • Reference
    • API Reference
      • Account
      • Authentication
Powered by GitBook
On this page
  • Endpoints
  • Account details
  • Account identity
  1. Reference
  2. API Reference

Account

PreviousAPI ReferenceNextAuthentication

Last updated 2 years ago

Endpoints

Account details

GET https://api.cloudnode.pro/v4/account

Get user account details.

Requires authentication. See . Requires permission node account.

{
    "created": "2022-07-02T08:33:12.000Z", // {string} ISO timestamp of account creation time
    "id": "user_HiSOG53KzE1cc01rDZ4", // {string} Unique user ID
    "identity": { // identity object
        "country": "NO",
        "email": "john@doe.com",
        "name": "John Doe",
        "username": "john.doe"
    }
}
{
    "created": "2022-07-02T08:33:12.000Z", // {string} ISO timestamp of account creation time
    "id": "user_HiSOG53KzE1cc01rDZ4", // {string} Unique user ID
    "identity": null
}

Account identity

GET https://api.cloudnode.pro/v4/account/identity

Get user account identity

{
    "country": "NO", // {string} alpha2 country code from when you registered
    "email": "john@doe.com", // {string} current primary e-mail address
    "name": "John Doe", // {string} full name
    "username": "john.doe" // {string} unique username
}
{
    "code": "err_not_found",
    "title": "The requested resource was not found",
    "message": "The account does not have an identity"
}

Requires authentication. See . Requires permission node account.identity.

how to authenticate your request
how to authenticate your request