Entitlements

Delete subject entitlement

Deleting an entitlement revokes access to the associated feature. As a single subject can only have one entitlement per featureKey, when "migrating" features you have to delete the old entitlements as well. As access and status checks can be historical queries, deleting an entitlement populates the deletedAt timestamp. When queried for a time before that, the entitlement is still considered active, you cannot have retroactive changes to access, which is important for, among other things, auditing.

⚠️ Deprecated: Use DELETE /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey} instead.

delete/api/v1/subjects/{subjectIdOrKey}/entitlements/{entitlementId}

Request

  • Base URL
    https://openmeter.cloud (the document declares no server; this is the origin it was published from)
  • Auth
    • HTTP bearer
    • or API key in cookie __session

Path parameters

subjectIdOrKeystring required
entitlementIdstring required

Response

There is no content to send for this request, but the headers may be useful.

Changes

No recorded changes to this operation across all 2 revisions of this API.