Warehouse Archiving
PUT/api/v5/org/:org/repo/:repo/status
Request
Path Parameters
org stringrequired
Organization to which the repository belongs.
repo stringrequired
Repository path (path)
Query Parameters
access_token stringrequired
User authorization code
- application/json
Body
statusintegerrequired
Warehouse status, 0: Start (indicating the warehouse is not archived), 2: Closed (indicating the warehouse is archived)
passwordstring
User password
Responses
- 200
Successful Response
Response Headers
- application/json
- Schema
- Example (auto)
- Example
Schema
codeinteger
msgstring
{
"code": 0,
"msg": "string"
}
{
"code": 1,
"msg": "success"
}