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
| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | String | Yes (or use auth_token) | API key for authentication. |
auth_token | String | No | Auth token as query parameter or countly-token header. |
app_id | String | Yes | App id. |
parameter_id | String | Yes | Parameter document id. |
Examples
Delete a parameter
/i/remote-config/remove-parameter?api_key=YOUR_API_KEY&app_id=6991c75b024cb89cdc04efd2¶meter_id=65f1f7b2ad5b9b001f12ab34
Response
Success Response
{
"result": "Success"
}
Response Fields
| Field | Type | Description |
|---|---|---|
result | String | Success 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.
Related Endpoints
Implementation details
Database Collections
| Collection | Used for | Data touched by this endpoint |
|---|---|---|
countly_out.remoteconfig_parameters{appId} | Parameter storage | Reads and deletes parameter document by id. |
countly.systemlogs | Audit trail | Receives rc_parameter_removed action. |