Console API
  1. Iam
Console API
  • User
    • User Info
      GET
  • Tenant / Regions
    • Get Regions & Tenant info
      GET
    • Get Tenant Info
      GET
  • VPC
    • Get VPC List
      GET
    • Rename VPC
      PUT
  • Images
    • Get images
      GET
  • Flavors
    • Get flavors
      GET
  • Storage Policy
    • List
      GET
  • Instances
    • List
      GET
    • Detail
      GET
    • Security Group
      GET
    • Create instance
      POST
    • Power off
      POST
    • Reboot
      POST
    • Power on
      POST
    • Terminate
      POST
    • Resize
      POST
    • Lock Termination
      POST
    • Rename
      POST
    • Manage tag
      POST
  • Subnet
    • List
    • Create
    • Rename
    • Delete
    • Manage tags
  • Security group
    • Security Group List
    • Security Group Detail
    • Rule Types
    • Create Security Group
    • Create Rule
    • Apply to private ip
    • Delete Rule
    • Delete security group
    • Manage tag
  • Floating IP
    • List
    • Allocate
    • Connect to instance
    • Disconnect
    • Release
    • Manage tag
  • Activity Logs
    • List
  • Tags
    • Lists
  • Iam
    • Add user to user group
      POST
    • Get all user groups
      GET
    • Create user group
      POST
    • Update user group
      PUT
    • Get roles
      GET
    • Get user vpcs
      GET
  • Billing
    • Bill
      • Get bills by date
      • Get Bills by paging
      • Bill Info
      • Bill service types
  • Project
    • Get projects
  • S3
    • Get bucket policy
    • List buckets
    • Get s3 service enabled
  1. Iam

Get roles

GET
api/v1/vmware/vpc/{vpc_id}/iam/all-roles

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
vpc_id
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'api/v1/vmware/vpc//iam/all-roles'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "total": 1,
    "items": [
        {
            "id": "57cbf623-465c-4ba9-88a5-569869f6f8f0",
            "tenant_id": null,
            "org_id": null,
            "name": "Readonly",
            "description": "View most resources. See the list of included permissions.",
            "role_group_id": "",
            "is_deleted": false,
            "is_predefined": true,
            "is_active": true,
            "created_at": "2022-01-06T00:00:00",
            "created_by": null,
            "updated_at": "2022-07-29T04:20:10",
            "updated_by": null,
            "groupName": "Basic"
        }
    ]
}
Modified at 2024-09-16 07:54:14
Previous
Update user group
Next
Get user vpcs
Built with