---
title: "Reject a phone"
method: POST
path: "/phones/{mac}/reject"
tags: ["Auto Provisioning"]
---

# Reject a phone

`POST /phones/{mac}/reject`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/phones/{mac}/reject`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/phones/:mac/reject/post.ts> (a function with typed inputs; its response is checked against the schema)

Reject a phone from auto provisioning.

## Path parameters

- `mac` string, required: MAC address.

## Response `200`

OK

## Other responses

- `400`: Invalid mac address.

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
