# prov.mandate.calls.decline_proof_request

prov.mandate.calls.decline_proof_request in Python SDK. Answer a proof request for a call your agent didn't place: the check returns `no_proof`.

## Signature

```python
prov.mandate.calls.decline_proof_request(proof_request_id: str) -> Any
```

## Parameters

- `proof_request_id` (str)

## Returns

`Any`

## HTTP operation

[`POST /v1/mandate/calls/proof_requests/{id}/decline`](https://provenanceauth.com/docs/api/calls.md#post-v1-mandate-calls-proof-requests-id-decline): Decline a proof request

## Errors

- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/calls/proof_requests/ccx_01M6XS88R5FRAGAMTCFZBXJVT2/decline`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({ "reason": "not_ours" }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/mandate/calls/proof_requests/ccx_01M6XS88R5FRAGAMTCFZBXJVT2/decline", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "reason": "not_ours"
}).json()
```
