listAdminAccessRights
get
/ccadmin/v1/adminAccessRights
List Admin Access Rights. Get all access rights for internal users.
Request
Supported Media Types
- application/json
Query Parameters
-
includePrivileges: boolean
Boolean indicating whether to include privileges in the response. Defaults to false.
-
limit: string
The maximum number of access rights to be returned from this request.
-
offset: string
The starting offset/index to be returned from this request.
-
q: string
Query string that filters the access rights to be returned from this request using SCIM filtering syntax.
-
sort: string
The sort order of the list to be returned from this request.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listAdminAccessRights_response
Type:
Show Source
object
-
items:
array items
All access rights for internal users
-
limit:
string
Number of items to be fetched.
-
offset:
string
The offset provided.
-
sort:
array sort
An array that specifies the sort order.
-
total:
string
Total number of items matching the searched string.
-
totalResults:
string
Total number of items matching the searched string.
Nested Schema : items
Type:
Show Source
object
-
description:
string
Description of the access right
-
displayName:
string
Display name of the access right
-
id:
string
ID of the access right
-
name:
string
Name of the access right
-
repositoryId:
string
Repository ID of the access right
-
type:
string
Type of the access right
Nested Schema : items
Type:
Show Source
object
-
order:
string
Whether this property should be sorted ascending ("asc") or descending ("dsc").
-
property:
string
The name of the property to use for sorting.
Example Response (application/json)
{
"total":2,
"totalResults":2,
"offset":0,
"limit":250,
"sort":[
{
"property":"id",
"order":"asc"
}
],
"items":[
{
"displayName":"Sensitive Data",
"name":"Sensitive Data",
"repositoryId":"sensitiveData",
"description":"Access to sensitive data",
"id":"sensitiveData",
"type":"generic"
},
{
"displayName":"Very Sensitive Data",
"name":"Very Sensitive Data",
"repositoryId":"verySensitiveData",
"description":"Access to very sensitive data",
"id":"verySensitiveData",
"type":"generic"
}
]
}
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|22054|Invalid Query Expression|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code