Skip to main content

Restore

Endpoint

DELETE  /api/v1/admin/settings

Permissions

COMING SOON!

Responses

Status CodeDescription
200indicates the request has succeeded
401indicates the user does not have proper permissions
404indicates the server was unable to retrieve a resource
500indicates a server failure while processing the request

Sample

warning

This section assumes you already know how to authenticate to the API.

To authenticate to the API, please review the authentication documentation.

Request

curl \
-X DELETE \
-H "Authorization: Bearer <token>" \
"http://127.0.0.1:8080/api/v1/admin/settings"

Response

{
"id": 1,
"compiler": {
"clone_image": "target/vela-git:latest",
"template_depth": 3,
"starlark_exec_limit": 7500
},
"queue": {
"routes": [
"vela"
]
},
"repo_allowlist": [
"*",
],
"schedule_allowlist": [
"github/octocat",
],
"created_at": 1715718878,
"updated_at": 1715718879,
"updated_by": "octocat"
}