List client tokens.

Details

List client tokens.

An account token or server token may be used to run this endpoint.

Parameters

path

  • id (required): The ID of the client.

Responses

200

{
    "items": [
        {
            "context": {},
            "createdAt": "YYYY-MM-DD HH:MM:SS ENCODED",
            "description": "CLIENT-TOKEN-DESCRIPTION",
            "id": "CLIENT-ID",
            "token": "TOKEN"
        }
    ]
}

400

  • Client Invalid: The standard error structure defines this error as invalid parameters, with an invalid ID. In this context, it means that the ID given for a client is invalid.

404

  • Client Not Found: This error means that a client with the given ID was not found. This is distinct from an invalid client ID being specified; this means that the client ID once existed, but no longer does.

Examples

HTTP

GET https://ioe.droplit.io/api/clients?ecosystemId=ECOSYSTEM-ID HTTP/1.1
authorization: TOKEN

Droplit Console

droplit token list --clientId CLIENT-ID

Droplit SDK

droplit.tokens.list("CLIENT-ID");
Language
Authorization
Header
Click Try It! to start a request and see the response here!