Agent Vault Access Bundles

Update a service in an Agent Vault access bundle

patch/api/v1/agent-vault/access-bundles/{accessBundleId}/services/{serviceId}

Path parameters

accessBundleIdstring uuid required

The ID of the access bundle.

serviceIdstring uuid required

The ID of the service.

Request body

namestring

The name of the service.

hostPatternstring

A comma-separated set of hosts this service covers, each optionally with a port (defaults to 443). A leading *. wildcard matches exactly one label. Paths are not supported.

allowedMethodsstring[] nullable

The HTTP methods this service allows. Null allows every method. Anything else is refused by the proxy with a 403.

allowedPathPrefixesstring[] nullable

The path prefixes this service allows, matched on whole segments, so /repos covers /repos/octo but not /repositories. null allows every path. A path-restricted service also refuses any request whose path would have to be normalised to judge.

Response

Default Response

Changes

Changed in 2 of the 41 revisions of this API.2