API v1
v1
View as Markdown

Delete a possession condition

DELETE /api/v1/possession-conditions/{possessionCondition}

Delete a possession condition. The ones after it move up to close the gap.

The deletion is final. The account log keeps the name of the condition.

Path parameters

Sent as JSON. Anything not listed here is ignored.

possessionCondition uuid Required

The id of the possession condition. A condition belonging to somebody else answers 404.

Returns

Nothing. A condition belonging to somebody else answers 404.

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-conditions/4c1e7a92-8d35-4f06-b2a9-e3f71c5d8b40 \
-X DELETE \
-H "Authorization: Bearer $MONICA_TOKEN"
const response = await fetch('https://my.monicahq.com/api/v1/possession-conditions/4c1e7a92-8d35-4f06-b2a9-e3f71c5d8b40', {
method: 'DELETE',
headers: { Authorization: `Bearer ${token}` },
})
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/possession-conditions/4c1e7a92-8d35-4f06-b2a9-e3f71c5d8b40');
Response 204
[]

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