{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/UpdateUsageApiKeyRequest", "title": "UpdateUsageApiKeyRequest", "description": "Request for update_usage_api_key. Updates all permissions and metadata on an existing usage API key. API key via header.", "type": "object", "required": [ "add_pkp_to_groups", "can_create_groups", "can_create_pkps", "can_delete_groups", "description", "execute_in_groups", "manage_ipfs_ids_in_groups", "name", "remove_pkp_from_groups", "usage_api_key" ], "properties": { "usage_api_key": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "can_create_groups": { "type": "boolean" }, "can_delete_groups": { "type": "boolean" }, "can_create_pkps": { "type": "boolean" }, "manage_ipfs_ids_in_groups": { "description": "Group IDs to grant manage-IPFS-IDs permission. 0 is wildcard for all groups.", "type": "array", "items": { "type": "integer", "format": "uint64", "minimum": 0.0 } }, "add_pkp_to_groups": { "description": "Group IDs to grant add-PKP permission. 0 is wildcard for all groups.", "type": "array", "items": { "type": "integer", "format": "uint64", "minimum": 0.0 } }, "remove_pkp_from_groups": { "description": "Group IDs to grant remove-PKP permission. 0 is wildcard for all groups.", "type": "array", "items": { "type": "integer", "format": "uint64", "minimum": 0.0 } }, "execute_in_groups": { "description": "Group IDs to grant execute permission. 0 is wildcard for all groups.", "type": "array", "items": { "type": "integer", "format": "uint64", "minimum": 0.0 } } } }