Skip to content
localisyncDocs
Open panel

Disable local access without revoking provider authorization

Current membership, explicit branch scope and version checks apply. Previews expire after 24 hours. A pull request is not synchronized until the actual merge result is verified. See the Git synchronization guide for permissions and recovery.

DELETE /api/v1/workspaces/{workspaceId}/git-connections/{id}

Operation: disableGitConnection · Download OpenAPI

This operation does not use the panel session as its authentication mechanism. Follow the operation-specific checks described above.

session

{
"type": "apiKey",
"in": "cookie",
"name": "__Host-localisync-session"
}
Name Location Required Description
workspaceId path Yes See constraints below.
id path Yes See constraints below.
X-CSRF-Token header Yes See constraints below.
Origin header Yes See constraints below.
{
"type": "string",
"format": "uuid"
}
{
"type": "string",
"format": "uuid"
}
{
"type": "string"
}
{
"type": "string",
"format": "uri"
}

No request body.

Operation accepted or result returned. Remote completion is indicated only by the job state.

Content type: application/json Schema reference: Disabled.

Field Type Required Constraints / description
disabled boolean Yes —
{
"$ref": "#/components/schemas/Disabled"
}

Safe error; no partial content application.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string Yes —
{
"$ref": "#/components/schemas/Error"
}

Safe error; no partial content application.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string Yes —
{
"$ref": "#/components/schemas/Error"
}

Safe error; no partial content application.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string Yes —
{
"$ref": "#/components/schemas/Error"
}

Safe error; no partial content application.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string Yes —
{
"$ref": "#/components/schemas/Error"
}

Safe error; no partial content application.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string Yes —
{
"$ref": "#/components/schemas/Error"
}

Safe error; no partial content application.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string Yes —
{
"$ref": "#/components/schemas/Error"
}

Safe error; no partial content application.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string Yes —
{
"$ref": "#/components/schemas/Error"
}

Safe error; no partial content application.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string Yes —
{
"$ref": "#/components/schemas/Error"
}

Safe error; no partial content application.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string Yes —
{
"$ref": "#/components/schemas/Error"
}

Request errors and safe retries · Troubleshooting

Cookie preferences

Your choice applies to localisync.com and docs.localisync.com. You can change it at any time using Cookie settings.