## Void `client.v1.creditGrants.void(CreditGrantVoidParamsbody, RequestOptionsoptions?): CreditGrantVoidResponse` **post** `/v1/credits/voidGrant` Void a credit grant ### Parameters - **body:** `CreditGrantVoidParams` - **id:** `string` - **release\_uniqueness\_key:** `boolean` If true, resets the uniqueness key on this grant so it can be re-used - **void\_credit\_purchase\_invoice:** `boolean` If true, void the purchase invoice associated with the grant ### Returns - `CreditGrantVoidResponse` - **data:** `ID` ### Example ```node import Metronome from '@metronome/sdk'; const client = new Metronome({ bearerToken: 'My Bearer Token', }); const response = await client.v1.creditGrants.void({ id: '9b85c1c1-5238-4f2a-a409-61412905e1e1' }); console.log(response.data); ```