Authentication > API Keys > keysModify
POST:keys.json
Description
Modify one or multiple API keys.
Permission bit: "keys.modify"
Topic: API Keys
Arguments
data: [KeyModify!]!
Main argument for mutations.
List of key ids. See also: Unique Identifiers
Example: ["ke_EQzGqWoY"]
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
The name of the key
Example: "unnamed"
Valid when: name is not empty
Valid when: name's length doesn't exceed 250 characters
A set of permission bits valid for this key
Sales channel this API key is associated with
Example: "sc_EQzGqWoY"
Valid when: sales_channel_id matches regexp pattern: ^sc_
Result
[Key!]
Preview (typescript)
Loading module