# 5. Deactivate

## **Deactivate Campaign**

<mark style="color:orange;">`POST`</mark>`{{WalletUrl}}/api/v1/campaign/deactivate?Id=0000-0000-0000-0000-0000`

{% hint style="info" %}
**Note:** To use this service, the **apikeypublic** and **apiclientpublic** parameters must be included in the Header field.

\
[<mark style="color:green;">**WalletAPI Address**</mark>](https://developer.paywall.one/payment-orchestration-integration-document/environment)
{% endhint %}

**The parameters that need to be sent to the service are as follows:**

<table><thead><tr><th width="162">Parameter</th><th width="79">Type</th><th width="107">Required</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>It is the authentication key used to provide general API access.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>It is the public identification key that defines the client application.</td></tr></tbody></table>

{% tabs %}
{% tab title="Service Reguest - JSON" %}
{% code lineNumbers="true" %}

```json
{
    "Value": true,
    "Errors": [],
    "IsSuccess": true,
    "IsFailure": false
}
```

{% endcode %}
{% endtab %}
{% endtabs %}

## **Service Response**

<table><thead><tr><th width="192">Parameter</th><th width="147.89192708333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>IsFailure</td><td>bool</td><td>Indicates that an error occurred during the operation. If true, an error exists.</td></tr><tr><td>IsSuccess</td><td>bool</td><td>Indicates that the operation was successfully completed.</td></tr><tr><td>Errors</td><td>Array</td><td>A list containing error messages that occurred during the service call.</td></tr><tr><td>Value</td><td>Array</td><td>Contains the content information returned if the service is successful.</td></tr></tbody></table>
