Skip to main content

Remote Config - Parameter Delete

Endpoint

/i/remote-config/remove-parameter

Overview

Deletes a parameter by id.

Authentication

Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.

Permissions

Requires remote_config Delete permission.

Request Parameters

ParameterTypeRequiredDescription
api_keyStringYes (or use auth_token)API key for authentication.
auth_tokenStringNoAuth token as query parameter or countly-token header.
app_idStringYesApp id.
parameter_idStringYesParameter document id.

Examples

Delete a parameter

/i/remote-config/remove-parameter?api_key=YOUR_API_KEY&app_id=6991c75b024cb89cdc04efd2&parameter_id=65f1f7b2ad5b9b001f12ab34

Response

Success Response

{
"result": "Success"
}

Response Fields

FieldTypeDescription
resultStringSuccess when deletion completes.

Error Responses

  • 500
{
"result": "Failed to remove parameter"
}

Behavior

  • Reads parameter first for audit payload.
  • Removes parameter by _id.
  • Emits system log action: rc_parameter_removed.
Implementation details

Database Collections

CollectionUsed forData touched by this endpoint
countly_out.remoteconfig_parameters{appId}Parameter storageReads and deletes parameter document by id.
countly.systemlogsAudit trailReceives rc_parameter_removed action.