curl --request PATCH \
--url https://api.ryvn.app/v1/orgs/{orgId}/secrets/{secretName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"add": {
"clientSecret": "rotated-secret"
},
"remove": [
"<string>"
]
}
'{
"name": "<string>",
"version": 123,
"keys": [
"<string>"
],
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}Perform a partial update on an existing organization secret. You can add new key-value pairs or remove existing keys.
curl --request PATCH \
--url https://api.ryvn.app/v1/orgs/{orgId}/secrets/{secretName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"add": {
"clientSecret": "rotated-secret"
},
"remove": [
"<string>"
]
}
'{
"name": "<string>",
"version": 123,
"keys": [
"<string>"
],
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the organization
The name of the secret to operate on
63"database-config"
Was this page helpful?