ProjectService_DeleteProject
DELETE/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}
ProjectService_DeleteProject
Request
Path Parameters
Partner to which the resource belongs
Organization to which the resource belongs
name of the resource
Query Parameters
Default value: system.k8smgmt.io/v3
API Version
API Version of the resource
Default value: Project
Kind
Kind of the resource
Display Name
display name of the resource
Description
description of the resource
Labels
This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18
Annotations
This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18
Project
Project of the resource
Default
flag to indicate if this is the default project in the organization
Condition Type
type of the status condition
Possible values: [StatusNotSet
, StatusSubmitted
, StatusOK
, StatusFailed
]
Default value: StatusNotSet
Condition Status
status of the condition
Last Updated
when the condition status is last updated
Reason
reason of the last condition status
Responses
- 200
- 204
- 403
- 404
- default
A successful response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Default value: system.k8smgmt.io/v3
API Version of the resource
Default value: Project
Kind of the resource
metadata objectrequired
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec objectrequired
Spec of the resource
flag to indicate if this is the default project in the organization
projectNamespaceRoles object[]
Project, namespace, role associations with groups
Project
Namespace
Role
Group
userRoles object[]
List of users with roles assigned to projects
User
Role
Namespace
status object
Status of the resource
type of the status condition
Possible values: [StatusNotSet
, StatusSubmitted
, StatusOK
, StatusFailed
]
Default value: StatusNotSet
status of the condition
when the condition status is last updated
reason of the last condition status
{
"apiVersion": "system.k8smgmt.io/v3",
"kind": "Project",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"default": true,
"projectNamespaceRoles": [
{
"project": "string",
"namespace": "string",
"role": "string",
"group": "string"
}
],
"userRoles": [
{
"user": "string",
"role": "string",
"namespace": "string"
}
]
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.744Z",
"reason": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Default value: system.k8smgmt.io/v3
API Version of the resource
Default value: Project
Kind of the resource
metadata objectrequired
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec objectrequired
Spec of the resource
flag to indicate if this is the default project in the organization
projectNamespaceRoles object[]
Project, namespace, role associations with groups
Project
Namespace
Role
Group
userRoles object[]
List of users with roles assigned to projects
User
Role
Namespace
status object
Status of the resource
type of the status condition
Possible values: [StatusNotSet
, StatusSubmitted
, StatusOK
, StatusFailed
]
Default value: StatusNotSet
status of the condition
when the condition status is last updated
reason of the last condition status
{
"apiVersion": "system.k8smgmt.io/v3",
"kind": "Project",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"default": true,
"projectNamespaceRoles": [
{
"project": "string",
"namespace": "string",
"role": "string",
"group": "string"
}
],
"userRoles": [
{
"user": "string",
"role": "string",
"namespace": "string"
}
]
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.744Z",
"reason": "string"
}
}
Returned when project is deleted successfully.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned when the user does not have permission to access the resource.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned when the resource does not exist.
- application/json
- application/yaml
- Schema
Schema
string
- Schema
Schema
string
An unexpected error response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}