Skip to main content

ProjectService_CreateProject

POST 

/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project

ProjectService_CreateProject

Request

Path Parameters

    metadata.partner stringrequired

    Partner to which the resource belongs

    metadata.organization stringrequired

    Organization to which the resource belongs

Body

required
    metadata objectrequired

    metadata of the resource

    name Name

    name of the resource

    displayName Display Name

    display name of the resource

    description Description

    description of the resource

    labels object

    labels of the resource

    property name* string
    annotations object

    annotations of the resource

    property name* string
    project Project

    Project of the resource

    spec objectrequired

    Spec of the resource

    default Default

    flag to indicate if this is the default project in the organization

    projectNamespaceRoles object[]

    Project, namespace, role associations with groups

  • Array [
  • project Project

    Project

    namespace Namespace

    Namespace

    role Role

    Role

    group Group

    Group

  • ]
  • userRoles object[]

    List of users with roles assigned to projects

  • Array [
  • user User

    User

    role Role

    Role

    namespace Namespace

    Namespace

  • ]
  • status object

    Status of the resource

Responses

A successful response.

Schema
    apiVersion API Versionrequired

    Default value: system.k8smgmt.io/v3

    API Version of the resource

    kind Kindrequired

    Default value: Project

    Kind of the resource

    metadata objectrequired

    Metadata of the resource

    name Namerequired

    name of the resource

    displayName Display Name

    display name of the resource

    description Description

    description of the resource

    labels object

    labels of the resource

    property name* string
    annotations object

    annotations of the resource

    property name* string
    project Projectrequired

    Project of the resource

    organization Organization

    Organization to which the resource belongs

    partner Partner

    Partner to which the resource belongs

    id string
    urlScope string
    createdAt date-time
    modifiedAt date-time
    spec objectrequired

    Spec of the resource

    default Default

    flag to indicate if this is the default project in the organization

    projectNamespaceRoles object[]

    Project, namespace, role associations with groups

  • Array [
  • project Project

    Project

    namespace Namespace

    Namespace

    role Role

    Role

    group Group

    Group

  • ]
  • userRoles object[]

    List of users with roles assigned to projects

  • Array [
  • user User

    User

    role Role

    Role

    namespace Namespace

    Namespace

  • ]
  • status object

    Status of the resource

    conditionType Condition Type

    type of the status condition

    conditionStatus Condition Status

    Possible values: [StatusNotSet, StatusSubmitted, StatusOK, StatusFailed]

    Default value: StatusNotSet

    status of the condition

    lastUpdated date-time

    when the condition status is last updated

    reason Reason

    reason of the last condition status

Loading...
CNCF

We are a Cloud Native Computing Foundation sandbox project.