Skip to content

Accounts

ListAccounts

Method: GET

Endpoint: /accounts/list-accounts

Authentication: bearer

DescribeSelf

Method: GET

Endpoint: /accounts/describe-self

Authentication: bearer

DeleteSelf

Method: DELETE

Endpoint: /accounts/delete-self

Authentication: bearer

UpdateSelf

Method: POST

Endpoint: /accounts/update-self

Authentication: bearer

Request Body

{
  "name": "PETER PAN"
}

CreateServiceAccount

Method: POST

Endpoint: /accounts/create-service-account

Authentication: bearer

Request Body

{
  "name": "PETER PAN",
  "email": "newviewer@email.com",
  "description": "The best service account"
}

GetServiceAccountSecretKey

Method: POST

Endpoint: /accounts/service-account-secret-key

Authentication: bearer

Request Body

{
  "account": "67d17341-5e9c-4d03-b89f-4e27b91099f5",
  "exp": 999999999
}

CreateUserAccount

Method: POST

Endpoint: /accounts/create-user-account

Authentication: bearer

Request Body

{
  "name": "User Codaweb",
  "email": "user@user.com",
  "password": "Password01"
}

DescribeAccount

Method: POST

Endpoint: /accounts/describe-account

Authentication: bearer

Request Body

{
  "account": "owner@email.com"
}

UpdateAccount

Method: POST

Endpoint: /accounts/update-account

Authentication: bearer

Request Body

{
  "account": "subaquatic.pierre@gmail.com",
  "verified": true
}

DeleteAccount

Method: POST

Endpoint: /accounts/delete-account

Authentication: bearer

Request Body

{
  "account": "cool@email.com"
}