// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class Revokes extends APIResource {
    /**
     * Revokes a list of devices.
     */
    create(params, options) {
        const { account_id, body } = params;
        return this._client.post(`/accounts/${account_id}/devices/revoke`, {
            body: body,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
(function (Revokes) {
})(Revokes || (Revokes = {}));
//# sourceMappingURL=revokes.mjs.map