Modify a Secret

PUT /groups/{groupId}/apps/{appId}/secrets/{secretId}

Modify a Secret associated with a Atlas App Services App.

Path parameters

application/json

Body Required

The modified value of the Secret.

  • _id string
  • name string Required
  • value string Required

Responses

  • 204

    No body returned for response

PUT /groups/{groupId}/apps/{appId}/secrets/{secretId}
curl \
 --request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/secrets/{secretId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"_id":"string","name":"string","value":"string"}'
Request examples
{
  "_id": "string",
  "name": "string",
  "value": "string"
}