List configuration service tokens
get
/v1/secrets/configs/config/service_tokensTokens 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 exampledev/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/00000000000000000000000000000000emailstringEmail
Example:
jane@example.comidinteger<int64>
Identifier
Example:
42namestring
Name
Example:
Jane Doerolestring
Role
Possible values: [primary_owner, owner, admin, member]
Example:
membertokenstring
Token
typestring
Type
Possible values: [secrets]