Dokumentation / Profile / Endpunkt
PUT

/api/v1/profile-templates/{id}

Vorlage ändern

Anfrage#

POSIX-Shell · curl
curl --fail-with-body --request PUT \
  "$ADBR_API_URL/api/v1/profile-templates/{id}" \
  -H "Authorization: Bearer $ADBR_API_TOKEN" \
  -H "Content-Type: application/json" \
  --data @request.json

Verwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs. Erstelle request.json anhand des folgenden Körperschemas, bevor du den Befehl ausführst.

Authentifizierung und Rechte#

Authentifizierung: Bearer-Token

Scopes: profiles:write

Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Kontorechte, Anfrageinhalt, Tresorzustand und Ressourcenrechte können weitere Voraussetzungen setzen.

Parameter#

ParameterOrtPflichtBeschreibung
idpathJa
Vollständige Parameterschemas
OpenAPI JSON
[
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "in": "path",
    "name": "id",
    "required": true
  }
]

Anfragekörper#

Erforderlich.

FeldTypPflichtBeschreibung
namestringNein
name_patternstring | nullNein
templateobjectNein
Vollständiges Körperschema
OpenAPI JSON
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "name_pattern": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 100
          },
          "template": {
            "type": "object",
            "properties": {
              "rpa_pending": {
                "type": "boolean"
              },
              "notes": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 400
              },
              "group_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "group_name": {
                "type": "string",
                "maxLength": 100
              },
              "tag_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 30
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 50
                },
                "maxItems": 30
              },
              "status_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "pinned": {
                "type": "boolean"
              },
              "color": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 32
              },
              "engine": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "chromium"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "firefox"
                    ]
                  }
                ]
              },
              "engine_version": {
                "type": "string",
                "minLength": 1,
                "maxLength": 16
              },
              "engine_auto_update": {
                "type": "boolean"
              },
              "os": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "windows"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "macos"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "linux"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "android"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "ios"
                    ]
                  }
                ]
              },
              "os_version": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 32
              },
              "user_agent": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 512
              },
              "fingerprint_overrides": {
                "type": "object",
                "additionalProperties": {}
              },
              "ip_checker": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 32
              },
              "browser_options": {
                "type": "object",
                "properties": {
                  "block_images": {
                    "type": "boolean"
                  },
                  "block_video": {
                    "type": "boolean"
                  },
                  "block_audio": {
                    "type": "boolean"
                  },
                  "block_notifications": {
                    "type": "boolean"
                  },
                  "block_password_view": {
                    "type": "boolean"
                  },
                  "block_password_save": {
                    "type": "boolean"
                  },
                  "block_extension_pages": {
                    "type": "boolean"
                  },
                  "block_translation": {
                    "type": "boolean"
                  },
                  "block_devtools": {
                    "type": "boolean"
                  },
                  "local_network": {
                    "type": "object",
                    "required": [
                      "blocked",
                      "allowed_ports"
                    ],
                    "properties": {
                      "blocked": {
                        "type": "boolean"
                      },
                      "allowed_ports": {
                        "type": "string",
                        "maxLength": 1536
                      }
                    },
                    "additionalProperties": false
                  },
                  "taskbar_icon": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 50,
                        "maxLength": 393216
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ui_language": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 2,
                        "maxLength": 35
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tls_cipher_blocklist": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "secure_dns": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "mode"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "off"
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "required": [
                          "mode",
                          "server"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "secure"
                            ]
                          },
                          "server": {
                            "type": "string",
                            "minLength": 9,
                            "maxLength": 2048
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "net": {
                "type": "object",
                "additionalProperties": {}
              },
              "start_mode": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "new_tab"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "last_tabs"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "urls"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "last_and_urls"
                    ]
                  }
                ]
              },
              "start_urls": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2048
                },
                "maxItems": 20
              },
              "open_account_pages": {
                "type": "boolean"
              },
              "homepage": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 512
              },
              "launch_args": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 1024
                },
                "maxItems": 100
              },
              "extension_set_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "storage_options": {
                "type": "object",
                "additionalProperties": {
                  "type": "boolean"
                }
              },
              "clear_on_close": {
                "type": "object",
                "additionalProperties": {
                  "type": "boolean"
                }
              },
              "cache_dir_override": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 512
              },
              "fingerprint_seeds": {
                "type": "object",
                "required": [
                  "identity",
                  "canvas",
                  "webgl",
                  "audio",
                  "clientRects"
                ],
                "properties": {
                  "identity": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "canvas": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                  },
                  "webgl": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                  },
                  "audio": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                  },
                  "clientRects": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      }
    }
  }
}

Antworten#

200 · Standardantwort
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "id",
          "name",
          "name_pattern",
          "template",
          "created_at",
          "updated_at"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "name_pattern": {
            "type": [
              "null",
              "string"
            ]
          },
          "template": {
            "type": "object",
            "additionalProperties": {}
          },
          "created_at": {
            "type": "integer"
          },
          "updated_at": {
            "type": "integer"
          }
        }
      }
    }
  }
}
default · HTTP-Fehlerhülle. Status und error.code bezeichnen den Fehler.
OpenAPI JSON
{
  "description": "HTTP error envelope. The status and error.code identify the failure.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

Allgemeine Authentifizierungs- und Transportfehler können zusätzlich zu den dokumentierten Antworten auftreten.

OpenAPI-Definition#

Vollständige Operationsdefinition
OpenAPI JSON
{
  "summary": "Vorlage ändern",
  "tags": [
    "Profile"
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "name_pattern": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 100
            },
            "template": {
              "type": "object",
              "properties": {
                "rpa_pending": {
                  "type": "boolean"
                },
                "notes": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 400
                },
                "group_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "group_name": {
                  "type": "string",
                  "maxLength": 100
                },
                "tag_ids": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 30
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 50
                  },
                  "maxItems": 30
                },
                "status_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "pinned": {
                  "type": "boolean"
                },
                "color": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 32
                },
                "engine": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "chromium"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "firefox"
                      ]
                    }
                  ]
                },
                "engine_version": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 16
                },
                "engine_auto_update": {
                  "type": "boolean"
                },
                "os": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "windows"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "macos"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "linux"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "android"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "ios"
                      ]
                    }
                  ]
                },
                "os_version": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 32
                },
                "user_agent": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 512
                },
                "fingerprint_overrides": {
                  "type": "object",
                  "additionalProperties": {}
                },
                "ip_checker": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 32
                },
                "browser_options": {
                  "type": "object",
                  "properties": {
                    "block_images": {
                      "type": "boolean"
                    },
                    "block_video": {
                      "type": "boolean"
                    },
                    "block_audio": {
                      "type": "boolean"
                    },
                    "block_notifications": {
                      "type": "boolean"
                    },
                    "block_password_view": {
                      "type": "boolean"
                    },
                    "block_password_save": {
                      "type": "boolean"
                    },
                    "block_extension_pages": {
                      "type": "boolean"
                    },
                    "block_translation": {
                      "type": "boolean"
                    },
                    "block_devtools": {
                      "type": "boolean"
                    },
                    "local_network": {
                      "type": "object",
                      "required": [
                        "blocked",
                        "allowed_ports"
                      ],
                      "properties": {
                        "blocked": {
                          "type": "boolean"
                        },
                        "allowed_ports": {
                          "type": "string",
                          "maxLength": 1536
                        }
                      },
                      "additionalProperties": false
                    },
                    "taskbar_icon": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 50,
                          "maxLength": 393216
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ui_language": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 2,
                          "maxLength": 35
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "tls_cipher_blocklist": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "secure_dns": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "mode"
                          ],
                          "properties": {
                            "mode": {
                              "type": "string",
                              "enum": [
                                "off"
                              ]
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "mode",
                            "server"
                          ],
                          "properties": {
                            "mode": {
                              "type": "string",
                              "enum": [
                                "secure"
                              ]
                            },
                            "server": {
                              "type": "string",
                              "minLength": 9,
                              "maxLength": 2048
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "net": {
                  "type": "object",
                  "additionalProperties": {}
                },
                "start_mode": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "new_tab"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "last_tabs"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "urls"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "last_and_urls"
                      ]
                    }
                  ]
                },
                "start_urls": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 2048
                  },
                  "maxItems": 20
                },
                "open_account_pages": {
                  "type": "boolean"
                },
                "homepage": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 512
                },
                "launch_args": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 1024
                  },
                  "maxItems": 100
                },
                "extension_set_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "storage_options": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "boolean"
                  }
                },
                "clear_on_close": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "boolean"
                  }
                },
                "cache_dir_override": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 512
                },
                "fingerprint_seeds": {
                  "type": "object",
                  "required": [
                    "identity",
                    "canvas",
                    "webgl",
                    "audio",
                    "clientRects"
                  ],
                  "properties": {
                    "identity": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 9007199254740991
                    },
                    "canvas": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4294967295
                    },
                    "webgl": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4294967295
                    },
                    "audio": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4294967295
                    },
                    "clientRects": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4294967295
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      },
      "in": "path",
      "name": "id",
      "required": true
    }
  ],
  "x-required-scopes": [
    "profiles:write"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "id",
              "name",
              "name_pattern",
              "template",
              "created_at",
              "updated_at"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "name_pattern": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "template": {
                "type": "object",
                "additionalProperties": {}
              },
              "created_at": {
                "type": "integer"
              },
              "updated_at": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "default": {
      "description": "HTTP error envelope. The status and error.code identify the failure.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}

Suche nach Headless, MCP, Cookies oder einem API-Endpunkt.

↑ ↓ NavigierenEnter ÖffnenEsc Schließen