API v1
v1
View as Markdown

Remove a field

DELETE /api/v1/possession-types/{possessionType}/fields/{field}

Remove a field from its possession type.

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.

field uuid Required

The id of the field. A field 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/fields/2d8b5f1e-6a47-4c93-8e02-1b9f7c3a5d64 \
-X DELETE \
-H "Authorization: Bearer $MONICA_TOKEN"
const response = await fetch('https://my.monicahq.com/api/v1/possession-types/9c1d4e7a-3b52-4f86-a0d9-2e7b6c418f35/fields/2d8b5f1e-6a47-4c93-8e02-1b9f7c3a5d64', {
method: 'DELETE',
headers: { Authorization: `Bearer ${token}` },
})
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/possession-types/9c1d4e7a-3b52-4f86-a0d9-2e7b6c418f35/fields/2d8b5f1e-6a47-4c93-8e02-1b9f7c3a5d64');
Response 204
[]

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