Create a new secret
POST /secrets
Create a new secret
Authorizations
Request Body
Create a secret
A secret
object
The name of the secret. Must comply with RFC 1035.
The description of the secret
The value of the secret
Responses
202
A secret
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
A secret
object
The name of the secret. Must comply with RFC 1035.
The description of the secret
Example
{
400
Invalid input
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
401
Access token is missing or invalid
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
403
Permission denied
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error
Example
{
500
Internal Server Error
Response Headers
ID uniquely identifying the request/response cycle.
Response Schema
Generic API error
object
Unique (system-wide) error code for an error happened
Developer-friendly message explaining error