Types > KeyModify
Commerce APITypesKeyModify
KeyModify

Description

Topic: API Keys

Fields

name: String

The name of the key

Example: "unnamed"

Valid when: name is not empty

Valid when: name's length doesn't exceed 250 characters


permissions: [String!]

A set of permission bits valid for this key


role_ids: [String!]


sales_channel_id: String

Sales channel this API key is associated with

Example: "sc_EQzGqWoY"

Valid when: sales_channel_id matches regexp pattern: ^sc_


Used By

Mutations

keysModify

Preview (typescript)

Loading module