Delete quota rules

The tutorial in this section shows you how to delete quota rules.

Delete a quota rule defined for your organization by quota rule ID

You can delete a specific quota rule for your organization by using a quota rule ID, as shown here.

Request

This example uses org123456789 as the realmId.

    DELETE https://quota.bam.api.here.com/v1/realms/org123456789/rules/CUSTOMER-QUOTA-db8ac3fb-f560-482c-a1e5-1626d503e4cd

Response: HTTP 204 No Content

Delete quota violations for your organization

You can delete specific quota violations from your organization. This API unblocks the access to the API for an appId.

Note

Once the appId/organization/project violations are deleted, it takes up to five minutes to regain access.

Requests

    Delete all violations for org123456789 organization
        DELETE https://quota.bam.api.here.com/v1/realm/org123456789/violations
    Delete violations with appId=app1 for org123456789 organization
        DELETE https://quota.bam.api.here.com/v1/realm/org123456789/violations?appId=app1
    Delete violations with projectHrn=hrn:here:authorization::org123456789:project/my-project-0000 for org123456789 organization
        DELETE https://quota.bam.api.here.com/v1/realm/org123456789/violations?projectHrn=hrn%3Ahere%3Aauthorization%3A%3Aorg123456789%3Aproject%2Fmy-project-0000
    Delete violation with violationId=QUOTA-VIOLATION-1152a465-7b67-33ac-883f-23310891a102 for org123456789 organization
        DELETE https://quota.bam.api.here.com/v1/realm/org123456789/violations?violationId=QUOTA-VIOLATION-1152a465-7b67-33ac-883f-23310891a102

Response: HTTP 200 OK

    HTTP 204 No content

results matching ""

    No results matching ""