Skip to main content

List configuration service tokens

get/v1/secrets/configs/config/service_tokens

Tokens are truncated; the full value is returned only on creation. A user with viewer access sees only their own tokens; with editor access or higher, all tokens of the configuration.

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Query Parameters

  • project stringrequired

    Project alias

  • config stringrequired

    Configuration alias: <environment> is the root configuration, <environment>/<name> is a branch or a personal configuration (<environment>/personal), for example dev/local

  • page_size integer<int64>
  • page integer<int64>

Response

  • Array [
  • accessstring

    Access

    Possible values: [read, write]

    created_atstring<date-time>

    Creation date

    descriptionstring

    Description

    expire_atstring<date-time>

    Expiration date

    idinteger<int64>

    Identifier

    last_used_atstring<date-time>

    Last used date

    owner object

    Owner

    activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://www.gravatar.com/avatar/00000000000000000000000000000000
    emailstring

    Email

    Example: jane@example.com
    idinteger<int64>

    Identifier

    Example: 42
    namestring

    Name

    Example: Jane Doe
    rolestring

    Role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
    tokenstring

    Token

    typestring

    Type

    Possible values: [secrets]

  • ]