POST
/
api
/
v1
/
user-secrets
/
{
  "service_name": "<string>",
  "secret_key_name": "<string>",
  "user_id": 123,
  "tenant_id": 123,
  "id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
Create a new user secret for the current user.
  • Method: POST
  • Path: /api/v1/user-secrets/

Request Body

Refer to the UserSecretCreate schema in the OpenAPI playground.

Response

Returns a UserSecretResponse object on success.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

201
application/json

Successful Response

The response is of type object.