Delete an Environment Value

DELETE /groups/{groupId}/apps/{appId}/environment_values/{environmentValueId}

Delete an existing environment value

Path parameters

Responses

  • 204

    Deleted

  • 404 application/json

    Environment value not found

    Hide response attributes Show response attributes object
    • error string

      A message that describes the error.

    • error_code string

      The error type.

      Value is EnvironmentValueNotFound.

DELETE /groups/{groupId}/apps/{appId}/environment_values/{environmentValueId}
curl \ --request DELETE 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/environment_values/{environmentValueId}' \ --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (404)
{ "error": "string", "error_code": "EnvironmentValueNotFound" }