Delete a possession type
DELETE
/api/v1/possession-types/{possessionType}
Delete a possession type with its groups, its fields, and every possession of that type with the values it held.
The deletion is final. The account log keeps the name of the type and, when possessions went with it, how many.
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.
Returns
Nothing. A type 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-types/9c1d4e7a-3b52-4f86-a0d9-2e7b6c418f35 \
-X DELETE \
-H "Authorization: Bearer $MONICA_TOKEN"
const response = await fetch('https://my.monicahq.com/api/v1/possession-types/9c1d4e7a-3b52-4f86-a0d9-2e7b6c418f35', {
method: 'DELETE',
headers: { Authorization: `Bearer ${token}` },
})
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/possession-types/9c1d4e7a-3b52-4f86-a0d9-2e7b6c418f35');
Response
204
[]
Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.