Disconnect a Phone Number
This page documents the API endpoint for disconnecting a phone number from an artist's profile on the In Process protocol.
Overview
Artists can disconnect their connected phone number from their profile. This will remove the phone number association and disable SMS-based features for that number.
Endpoint
DELETE https://inprocess.world/api/phonesAuthentication
Include an API key in the x-api-key header for authorization:
x-api-key: <artist_api_key>Show more
See Create an Artist API Key for how to create API keys.
Request Body
No request body is required. The phone number to disconnect is determined by the authenticated artist's address.
Example Requests
cURL
curl -X DELETE https://inprocess.world/api/phones \
-H "x-api-key: art_sk_3fnm4...f6w4"Example Response
Success Response
{
"success": true,
"message": "Phone number is disconnected successfully"
}Response Fields
| Name | Type | Description |
|---|---|---|
| success | boolean | Indicates whether the operation was successful |
| message | string | A descriptive message about the operation result |
Error Responses
Server Error (500)
If an error occurs during phone number disconnection:
{
"message": "Failed to disconnect phone number"
}Notes
- Disconnecting a phone number will remove it from the artist's profile
- After disconnection, SMS-based features will no longer be available for that phone number
- The phone number can be re-connected later if needed