PUT
/
api
/
v1
/
user-secrets
/
{secret_id}
{
  "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"
}

Update a user secret by its ID for the current user.

  • Method: PUT
  • Path: /api/v1/user-secrets/{secret_id}

Path Parameter

  • secret_id (integer, required): The ID of the user secret

Request Body

Refer to the UserSecretUpdate 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.

Path Parameters

secret_id
integer
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.