SpaceONE APIs
Latest Version
Latest Version
  • README
  • Board
    • V1
      • Board
      • Post
  • Config
    • V1
      • Domain Config
      • User Config
  • Core
    • V1
      • Handler
      • Query
      • Server Info
  • Cost Analysis
    • Plugin
      • Cost
      • Data Source
      • Job
    • V1
      • Budget
      • Budget Usage
      • Cost
      • Cost Query Set
      • Custom Widget
      • Data Source
      • Data Source Rule
      • Exchange Rate
      • Job
      • Job Task
      • Public Dashboard
      • Schedule
      • User Dashboard
  • Identity
    • Plugin
      • Auth
    • V1
      • Api Key
      • Authorization
      • Domain
      • Domain Owner
      • Endpoint
      • Policy
      • Project
      • Project Group
      • Provider
      • Role
      • Role Binding
      • Service Account
      • Token
      • User
  • Inventory
    • Plugin
      • Collector
    • V1
      • Change History
      • Cloud Service
      • Cloud Service Type
      • Collector
      • Job
      • Job Task
      • Note
      • Region
      • Resource Group
      • Server
  • Monitoring
    • Plugin
      • Data Source
      • Event
      • Log
      • Metric
      • Webhook
    • V1
      • Alert
      • Data Source
      • Escalation Policy
      • Event
      • Event Rule
      • Log
      • Maintenance Window
      • Metric
      • Note
      • Project Alert Config
      • Webhook
  • Notification
    • Plugin
      • Notification
      • Protocol
    • V1
      • Notification
      • Notification Usage
      • Project Channel
      • Protocol
      • Quota
      • User Channel
  • Plugin
    • V1
      • Plugin
      • Supervisor
  • Repository
    • V1
      • Plugin
      • Policy
      • Repository
      • Schema
  • Sample
    • V1
      • Helloworld
  • Secret
    • V1
      • Secret
      • Secret Group
  • Statistics
    • Plugin
      • Storage
    • V1
      • History
      • Resource
      • Schedule
      • Storage
Powered by GitBook
On this page
  • Role
  • create
  • update
  • delete
  • get
  • list
  • stat
  • Message
  • CreateRoleRequest
  • GetRoleRequest
  • PagePermission
  • RoleInfo
  • RolePolicy
  • RoleQuery
  • RoleRequest
  • RoleStatQuery
  • RolesInfo
  • UpdateRoleRequest

Was this helpful?

  1. Identity
  2. V1

Role

Package : spaceone.api.identity.v1

Role

Role Methods:

Method
Request
Response

create

POST /identity/v1/roles

Type
Message

Request

Response

update

PUT /identity/v1/roles/{role_id}

Type
Message

Request

Response

delete

DELETE /identity/v1/roles/{role_id}

Type
Message

Request

Response

get

GET /identity/v1/roles/{role_id}

Type
Message

Request

Response

list

GET /identity/v1/roles

POST /identity/v1/roles/search

Type
Message

Request

Response

stat

POST /identity/v1/roles/stat

Type
Message

Request

Response

Message

CreateRoleRequest

Field
Type
Required
Description

name

string

✔

role_type

  • NONE

  • SYSTEM

  • DOMAIN

  • PROJECT

✔

policies

✔

page_permissions

✘

tags

✘

domain_id

string

✔

GetRoleRequest

Field
Type
Required
Description

role_id

string

✔

domain_id

string

✔

only

list of string

✘

PagePermission

Field
Type
Description

page

string

permission

  • NONE

  • VIEW

  • MANAGE

RoleInfo

Field
Type
Description

role_id

string

name

string

role_type

  • NONE

  • SYSTEM

  • DOMAIN

  • PROJECT

policies

page_permissions

tags

domain_id

string

created_at

string

deleted_at

string

RolePolicy

Field
Type
Description

policy_type

  • NONE

  • MANAGED

  • CUSTOM

policy_id

string

RoleQuery

Field
Type
Required
Description

query

✘

role_id

string

✘

name

string

✘

role_type

  • NONE

  • SYSTEM

  • DOMAIN

  • PROJECT

✘

policy_id

string

✘

domain_id

string

✔

RoleRequest

Field
Type
Required
Description

role_id

string

✔

domain_id

string

✔

RoleStatQuery

Field
Type
Required
Description

query

✔

domain_id

string

✔

RolesInfo

Field
Type
Description

results

total_count

UpdateRoleRequest

Field
Type
Required
Description

role_id

string

✔

name

string

✘

policies

✘

page_permissions

✘

tags

✘

release_page_permissions

bool

✘

domain_id

string

✔

PreviousProviderNextRole Binding

Last updated 3 years ago

Was this helpful?

google.protobuf.Empty
google.protobuf.Struct
google.protobuf.Empty
google.protobuf.Struct
google.protobuf.Struct
google.protobuf.Struct
spaceone.api.core.v1.Query
spaceone.api.core.v1.StatisticsQuery
int32
google.protobuf.Struct
create
CreateRoleRequest
RoleInfo
update
UpdateRoleRequest
RoleInfo
delete
RoleRequest
get
GetRoleRequest
RoleInfo
list
RoleQuery
RolesInfo
stat
RoleStatQuery
CreateRoleRequest
RoleInfo
UpdateRoleRequest
RoleInfo
RoleRequest
GetRoleRequest
RoleInfo
RoleQuery
RolesInfo
RoleStatQuery
list of RolePolicy
list of PagePermission
list of RolePolicy
list of PagePermission
list of RoleInfo
list of RolePolicy
list of PagePermission