---
title: "Delete shared profiles"
method: DELETE
path: "/api/ab/shared"
tags: ["address book"]
---

# Delete shared profiles

`DELETE /api/ab/shared`

This function is an API endpoint that deletes shared profiles from an address book. It is tagged with "address book" for OpenAPI documentation.

## Parameters

- `request`: A JSON object containing an array of shared profile GUIDs to be deleted.

## Returns

If successful, this function returns an `ActionResponse::Empty` object.

## Request body

- string[]

## Response `200`

\
            # [200 OK](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200)  
            This response is given when the request is successful.  
            The body is empty if there is no error,  
            The body contains a json object with the error {"error":"Error message"}

## Other responses

- `401`
- `422` — # [422 Unprocessable Entity](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422) This response is given when you request body is not correctly formatted.

## Changes

- **2024-06-12** `ea74f2e6ab39` — 1 info
  - endpoint added
- **2024-05-19** `fafd43b82c78` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nesaku/apis/sctgdesk-api-server/changes/api/ab/shared/delete.md)

---

[API](https://skmtc.dev/nesaku/apis/sctgdesk-api-server.md) · [All operations](https://skmtc.dev/nesaku/apis/sctgdesk-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nesaku/sctgdesk-api-server/revisions/b1c0e7a4434f/schema)
