## Edit `v1.credit_grants.edit(**kwargs) -> CreditGrantEditResponse` **post** `/v1/credits/editGrant` Edit an existing credit grant ### Parameters - **id:** `String` the ID of the credit grant - **credit\_grant\_type:** `String` the updated credit grant type - **expires\_at:** `Time` the updated expiration date for the credit grant - **name:** `String` the updated name for the credit grant ### Returns - `class CreditGrantEditResponse` - **data:** `ID` ### Example ```ruby require "metronome_sdk" metronome = MetronomeSDK::Client.new(bearer_token: "My Bearer Token") response = metronome.v1.credit_grants.edit(id: "9b85c1c1-5238-4f2a-a409-61412905e1e1") puts(response) ```