Roles

Gets a roles within the organization.

get
Authorizations
Responses
200

OK

application/json
get
GET /organization/v1/roles HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Accept: */*
[
  {
    "created_by": "text",
    "created_on": 1,
    "default": true,
    "description": "text",
    "id": "text",
    "is_active": true,
    "name": "text",
    "updated_by": "text",
    "updated_on": 1
  }
]

Gets a role by role id within the organization.

get
Authorizations
Path parameters
role_idstringRequired

Role identifier

Responses
200

OK

application/json
get
GET /organization/v1/roles/{role_id} HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Accept: */*
200

OK

{
  "created_by": "text",
  "created_on": 1,
  "default": true,
  "description": "text",
  "id": "text",
  "is_active": true,
  "name": "text",
  "updated_by": "text",
  "updated_on": 1
}

Was this helpful?