Skip to main content

RoleService_UpdateRole

PUT 

/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}

RoleService_UpdateRole

Request

Path Parameters

    metadata.partner stringrequired

    Partner to which the resource belongs

    metadata.organization stringrequired

    Organization to which the resource belongs

    metadata.name stringrequired

    name of the resource

Body

required
    apiVersion API Versionrequired

    Default value: system.k8smgmt.io/v3

    API Version of the Role resource

    kind Kindrequired

    Default value: Role

    Kind of the role resource

    metadata objectrequired

    metadata 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 role resource

    rolepermissions string[]

    Permissions for the role

    isGlobal IsGlobal

    Specify if this is a global role

    scope Scope

    Scope of role

    status object

    Status of the resource

Responses

A successful response.

Schema
    apiVersion API Versionrequired

    Default value: system.k8smgmt.io/v3

    API Version of the Role resource

    kind Kindrequired

    Default value: Role

    Kind of the role resource

    metadata objectrequired

    Metadata of the role 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 role resource

    rolepermissions string[]

    Permissions for the role

    isGlobal IsGlobal

    Specify if this is a global role

    scope Scope

    Scope of role

    builtin Builtin

    Specify if this is a builtin role

    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.