Update Secret
Update secret
post
/v1/secret/{secretId}/update
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
secretIdstring* Required
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
kindstring
The kind of the secret
typestring
The type of the secret
valuestring
The value of the secret
configobject
The config of the secret
curl -X POST "https://api.chatbotkit.com/v1/secret/{secretId}/update" \-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \
-H "Content-Type: application/json" \
--data-binary @- << EOF {"name":"string","description":"string","meta":"object","kind":"string","type":"string","value":"string",} EOF"config":"object"
{"id":"string"}
The secret was updated successfully