Role

Package : spaceone.api.identity.v1

Role

Role Methods:

create

POST /identity/v1/roles

Type

Message

Response

update

PUT /identity/v1/roles/{role_id}

Type

Message

Response

delete

DELETE /identity/v1/roles/{role_id}

Type

Message

get

GET /identity/v1/roles/{role_id}

Type

Message

Response

list

GET /identity/v1/roles

POST /identity/v1/roles/search

Type

Message

Request

Response

stat

POST /identity/v1/roles/stat

Type

Message

Message

CreateRoleRequest

No

Field

Type

Required

Description

1

name

string

required

required

2

domain_id

string

required

required

3

role_type

RoleType

  • NONE

  • SYSTEM

  • DOMAIN

  • PROJECT

required

required

4

policies

required

required

5

tags

optional

optional

GetRoleRequest

No

Field

Type

Required

Description

1

role_id

string

required

2

domain_id

string

required

3

only

string

optional

RoleInfo

No

Field

Type

Required

Description

1

role_id

string

2

name

string

3

role_type

RoleType

  • NONE

  • SYSTEM

  • DOMAIN

  • PROJECT

4

policies

6

domain_id

string

RolePolicy

No

Field

Type

Required

Description

1

policy_type

RolePolicy.PolicyType

  • NONE

  • MANAGED

  • CUSTOM

2

url

string

3

policy_id

string

RoleQuery

No

Field

Type

Required

Description

1

query

optional

optional

2

role_id

string

optional

optional

3

name

string

optional

optional

4

role_type

RoleType

  • NONE

  • SYSTEM

  • DOMAIN

  • PROJECT

optional

optional

5

domain_id

string

required

required

RoleRequest

No

Field

Type

Required

Description

1

role_id

string

required

2

domain_id

string

required

RoleStatQuery

No

Field

Type

Required

Description

2

domain_id

string

required

RolesInfo

No

Field

Type

Required

Description

1

results

2

total_count

UpdateRoleRequest

No

Field

Type

Required

Description

1

role_id

string

required

2

name

string

optional

3

domain_id

string

required

4

policies

required

Last updated