Forget the Git repository

DELETE
/v1/agents/{id}/source/git

Removes the repository record. The connection that held the credential is not touched.

Requires an API key with the workspace:write scope.

Authorization

apiKey
headerAuthorizationBearer <token>

A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.

Path Parameters

id*string

The agent id.

Response Body

Whether a repository record was removed

application/json
  1. response
deleted*boolean
Example Request
curl -X DELETE "https://api.vlayers.ai/v1/agents/$AGENT_ID/source/git" \  -H "Authorization: Bearer $VOICELAYER_API_KEY"
Example Response
{  "deleted": true}