Skip to main content
GET
List REST API credentials

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

workspaceId
string
required

The workspace to read, e.g. clx1a2b3c4d5e6f7g8h9. Get it from List workspaces. A workspace your token cannot reach answers 404, indistinguishable from one that does not exist.

type
enum<string>
required

The kind of credential to list. Only rest-api is accepted; any other value answers 400.

Available options:
rest-api

Response

The REST API credentials of the workspace, without their secrets. An empty list means the workspace has none.

The REST API credentials of a workspace. No secret is ever included.

credentials
object[]
required

The credentials found, in no particular order.