Alphaus | Documentation
WebsiteRepoTech blog (JP)Tech blog (EN)
API Reference
API Reference
  • Overview
  • Endpoint limits
  • Authentication
  • Users
  • API clients
  • Authorization (RBAC)
  • Ripple
    • User
    • ExchangeRate
    • BillingGroup
    • Account
    • Wave for Reseller
    • OriginalCost
    • RI management
    • Recalculation
    • Invoice
    • Export
    • Project
  • Wave
    • Pre-request
    • Report
  • Status
  • Ocean
    • Credentials
    • Deployments
  • ALM (v3)
Powered by GitBook
On this page
  • Create API client
  • List API clients
  • Delete API client

Was this helpful?

API clients

PreviousUsersNextAuthorization (RBAC)

Last updated 2 years ago

Was this helpful?

New API available on .

The following endpoint is the base url for the APIs below.

https://service.alphaus.cloud/m/u/users/

Create API client

Create a new API client under a specific user.

Request

POST /client/:user HTTP1.1
Authorization: Bearer {token}
Content-Type: application/json

{
  "name": "test-apiclient-name",
}

:user is either root user or subuser.

Details for the POST {body}.

Key

Value

name

Required. The name of the API client.

Response

HTTP/1.1 200 OK

{
  "client_id": "ripple-abcdef123456",
  "client_secret": "critical",
  "grant_type": "client_credentials",
  "create_time": "2020-06-27T11:26:46.257375295Z",
  "user_id": "id0001",
  "username": "someusername",
  "name": "test-apiclient-name"
}

List API clients

List all API clients under a specific user.

Request

GET /clients/:user HTTP1.1
Authorization: Bearer {token}

:user is either root user or subuser.

Response

HTTP/1.1 200 OK

[
  {
    "client_id": "ripple-abcdef123456",
    "client_secret": "",
    "grant_type": "client_credentials",
    "create_time": "2020-06-15T05:07:50.258779172Z",
    "user_id": "id001",
    "name": "test-apiclient-name"
  },
  ...
]

Delete API client

Delete an existing API client under a specific user.

Request

DELETE /client/:user/:clientid HTTP1.1
Authorization: Bearer {token}

:user is either root user or subuser. :clientid is the client id to delete.

Response

HTTP/1.1 200 OK

{
  "status": "success"
}
https://alphauslabs.github.io/blueapidocs/#/Iam