Updated on 2023-06-25 GMT+08:00

Deleting Repository Authorization

Function

This API is used to delete repository authorization based on the name.

URI

DELETE /v1/{project_id}/git/auths/{name}

Table 1 describes the parameters.

Table 1 Path parameters

Parameter

Type

Mandatory

Description

project_id

String

Yes

Tenant's project ID.

name

String

Yes

Authorization name.

Request

Request parameters

None

Response

Response parameters

None

Example

Example request

None

Example response

None

Status Code

Table 2 Status codes

Status Code

Description

204

OK

500

Internal Server Error

Error Code

Error code must be in the format of SVCSTG.REPO.[Error_ID]. Example: SVCSTG.REPO.0401. See ServiceStage Error Codes.