Skip to content

Anonymise a licence

POST
/v1/admin/licences/{id}/anonymise
curl --request POST \
--url https://api.sealcord.com/v1/admin/licences/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/anonymise \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "confirm": true }'

Anonymise a licence on its software maker’s instruction (cannot be undone). Removes the customer’s data: the address, the external reference, the Polar customer and checkout ids, the status reason, every machine’s id, name, OS and app version, and everything but ids, times, statuses and counts from its audit events. Revokes it if active; it can never be reinstated and its key no longer activates. Idempotent: changed is false when it was anonymised already. Body {"confirm": true}.

id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
Media typeapplication/json
object
confirm
required
boolean

Missing or invalid API key.

Needs scope licences:anonymise.