Path Parameters
The unique identifier of the API key to be updated. This must be a valid API key ID associated with your entity. This is not the API key value, but the unique identifier for the API key that can be obtained using the list API keys endpoint.
Body
(Optional) The new name that identifies the API key
"Loop API key"
(Optional) The list of additional permissions to grant to the API key. These will be added to any existing permissions
Valid values: CreateEntities
, UpdateEntities
, CreateApiKeys
, UpdateApiKey
, GetApiKeys
, DeactivateApiKey
, CreateMerchants
, UpdateMerchants
, GetMerchants
, CreatePaymentTypes
, GetPaymentTypes
, DeletePaymentTypes
, CreatePayoutDestinations
, GetPayoutDestinations
, DeletePayoutDestinations
, UpdatePayoutDestinations
, CreatePaymentMethods
, GetPaymentMethods
, UpdatePaymentMethods
, DeletePaymentMethods
, CreatePayins
, GetPayins
, UpdatePayins
, CreateCustomers
, GetCustomers
, CreateWebhooks
, GetWebhooks
, DeleteWebhooks
, UpdateWebhooks
, CreateWebhookSecret
, GetWebhookSecret
, GetTokens
, CreateCheckoutSessions
, UpdateCheckoutSessions
, ListCheckoutSessions
, GetCheckoutSessions
, DeleteCheckoutSessions
, CreateAuthTokens
, CreateUsers
, GetUsers
, DeleteUsers
["GetPaymentTypes"]
(Optional) The list of permissions to revoke from the API key. These will be removed from any existing permissions
Valid values: CreateEntities
, UpdateEntities
, CreateApiKeys
, UpdateApiKey
, GetApiKeys
, DeactivateApiKey
, CreateMerchants
, UpdateMerchants
, GetMerchants
, CreatePaymentTypes
, GetPaymentTypes
, DeletePaymentTypes
, CreatePayoutDestinations
, GetPayoutDestinations
, DeletePayoutDestinations
, UpdatePayoutDestinations
, CreatePaymentMethods
, GetPaymentMethods
, UpdatePaymentMethods
, DeletePaymentMethods
, CreatePayins
, GetPayins
, UpdatePayins
, CreateCustomers
, GetCustomers
, CreateWebhooks
, GetWebhooks
, DeleteWebhooks
, UpdateWebhooks
, CreateWebhookSecret
, GetWebhookSecret
, GetTokens
, CreateCheckoutSessions
, UpdateCheckoutSessions
, ListCheckoutSessions
, GetCheckoutSessions
, DeleteCheckoutSessions
, CreateAuthTokens
, CreateUsers
, GetUsers
, DeleteUsers
["GetPaymentTypes"]
Response
Ok
The unique identifier for the API key
"1234567890abcdef"
The name that identifies the API key
"Loop API key"
The created API key
"550e8400-e29b-41d4-a716-446655440000"
The list of permissions that define what operations this API key can perform
["CreateEntity", "GetPaymentTypes"]
The date the API key was created, represented as a Unix timestamp in seconds.
1716211200