Delete a registry project
import requests
url = "https://platform.ankra.app/api/v1/org/registry-projects/{project_name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/registry-projects/{project_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/registry-projects/{project_name} \
--header 'Authorization: Bearer <token>'{
"success": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Credentials
Delete a registry project
Delete an extra registry project. Nothing else is deleted on the way: a project that still holds repositories, or that robot accounts are still bound to, is refused with 409, and so is the organisation’s own project. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication).
DELETE
/
api
/
v1
/
org
/
registry-projects
/
{project_name}
Delete a registry project
import requests
url = "https://platform.ankra.app/api/v1/org/registry-projects/{project_name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/registry-projects/{project_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/registry-projects/{project_name} \
--header 'Authorization: Bearer <token>'{
"success": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response