# Remove a group of fields

`DELETE /api/v1/possession-types/{possessionType}/groups/{group}`

Remove a group and keep its fields: they become standalone fields of the type, after the ones already there.

## Path parameters

- `possessionType` (uuid, required): The id of the possession type. A type belonging to somebody else answers 404.
- `group` (uuid, required): The id of the group. A group of another type answers 404.

## Returns

Nothing.

## Rate limit

Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in `X-RateLimit-Remaining`.

## Request

```sh
curl https://my.monicahq.com/api/v1/possession-types/9c1d4e7a-3b52-4f86-a0d9-2e7b6c418f35/groups/4f2a8c61-7d93-4e05-b1c8-93a6d5e20b17 \
  -X DELETE \
  -H "Authorization: Bearer $MONICA_TOKEN"
```

```javascript
const response = await fetch('https://my.monicahq.com/api/v1/possession-types/9c1d4e7a-3b52-4f86-a0d9-2e7b6c418f35/groups/4f2a8c61-7d93-4e05-b1c8-93a6d5e20b17', {
  method: 'DELETE',
  headers: { Authorization: `Bearer ${token}` },
})
```

```php
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/possession-types/9c1d4e7a-3b52-4f86-a0d9-2e7b6c418f35/groups/4f2a8c61-7d93-4e05-b1c8-93a6d5e20b17');
```

## Response

`204`

```json
[]
```
