## Delete a SIP profile

`client.SipProfiles.Delete(ctx, sipProfileID) error`

**delete** `/v3/sip-profiles/{sipProfileId}`

Delete a SIP profile. The profile must not be assigned to any phone number; unassign it first or the request is rejected.

### Parameters

- `sipProfileID string`

### Example

```go
package main

import (
  "context"

  "github.com/linq-team/linq-go"
  "github.com/linq-team/linq-go/option"
)

func main() {
  client := linqgo.NewClient(
    option.WithAPIKey("My API Key"),
  )
  err := client.SipProfiles.Delete(context.TODO(), "sip_8a3f9c2b1d4e4f5a9b8c7d6e5f4a3b2c")
  if err != nil {
    panic(err.Error())
  }
}
```

#### Response

```json
{
  "error": {
    "status": 401,
    "code": 2004,
    "message": "Unauthorized - missing or invalid authentication token",
    "doc_url": "https://docs.linqapp.com/channel/imessage/error/codes/2xxx/2004/"
  },
  "success": false
}
```
