Create a secrets project
post
/v1/secrets/projectsAvailable to team admins. Default environments are created in the project automatically
(see /v1/secrets/default_environments). The number of projects is limited by the team limit.
Request
Authorization
- Authorizationstringheaderrequired
Key in the format
Bearer <API-key>. Create a key on the API keys page.
Request body
descriptionstring
Description
Example:
Payment processing servicenamestringrequired
Name
Example:
Paymentsslugstring
Alias; generated from the name by default
Example:
paymentsResponse
access_levelstring
Current user's access level to the project
Possible values: [none, viewer, editor, admin]
Example:
editorconfigsinteger<int64>
Number of configs
Example:
3created_atstring<date-time>
Creation date
descriptionstring
Description
Example:
Payment processing serviceidinteger<int64>
Identifier
Example:
101namestring
Name
Example:
Paymentsowner object
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:
memberpinnedboolean
The project is pinned by the current user
secretsinteger<int64>
Number of secrets
Example:
24slugstring
Alias
Example:
paymentsupdated_atstring<date-time>
Update date