API v1
v1
View as Markdown

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

Sent as JSON. Anything not listed here is ignored.

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.

DELETE
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"
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}` },
})
$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
[]

Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.