Skip to main content

List API keys for a user

GET 

/api/v1/apikeys

List all API keys for a user. The API keys can be used to authenticate the requests to the Astro Platform API.

Request

Header Parameters

    X-API-KEY stringrequired

    APIKey

Responses

OK

Schema

    data

    object[]

  • Array [

  • apikey string

    apiKey is the API key.

    createdAt string

    createdAt is the creation time of the APIkey.

    expiresAt string

    expiresAt is the expiration time of the API key.

    id string

    id is the unique identifier of the API key.

    isPermanent boolean

    isPermanent is a flag to make the API key permanent. If true, the API key will not expire. If false, the API key will expire after the duration. If not specified, the default value is false.

    orgId string

    orgId is the organization ID.

    orgNamespace string

    orgNamespace is the organization namespace.

    userId string

    userId is unique identifier of the user.

  • ]

  • id string
    message string
    status string
Loading...