Link Search Menu Expand Document

Create Secret

Creates a new secret

URL: /api/namespaces/{namespace}/secrets/

Method: POST

Input

Provide the namespace parameter and the following JSON input.

{
    "name": "KEY",
    "data": "VALUE"
}

Success Response

Code: 200 OK

Content

{}

Error Response

Code: 400 Bad Request

Content

{
    "Code": 400,
    "Message": "An error relating to the request"
}

Copyright © 2021 Vorteil.io.