ListDynamicGroups

GET {{baseUrl}}/dynamicGroups/?compartmentId={{tenancy_ocid}}&limit=693&sortBy=NAME&sortOrder=ASC&lifecycleState=ACTIVE

Lists the dynamic groups in your tenancy. You must specify your tenancy's OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy's OCID and User's OCID.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The OCID of the compartment (remember that the tenancy is simply the root compartment).
pagestringThe value of the opc-next-page response header from the previous "List" call.
limitnumberThe maximum number of items to return in a paginated "List" call.
namestringA filter to only return resources that match the given name exactly.
sortBystringThe field to sort by. You can provide one sort order (sortOrder). Default order for
TIMECREATED is descending. Default order for NAME is ascending. The NAME
sort order is case sensitive.

Note: In general, some "List" operations (for example, ListInstances) let you optionally filter by Availability Domain if the scope of the resource type is within a single Availability Domain. If you call one of these "List" operations without specifying an Availability Domain, the resources are grouped by Availability Domain, then sorted. | | sortOrder | string | | The sort order to use, either ascending (ASC) or descending (DESC). The NAME sort order is case sensitive. | | lifecycleState | string | | A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. |

HEADERS

KeyDatatypeRequiredDescription
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

[{"id":"nulla tempor dolor est","compartmentId":"aliqua nisi non tempor","name":"in ea voluptate","description":"labore sit sunt Excepteur","matchingRule":"quis in volupt","timeCreated":"1963-03-12T14:14:35.088Z","lifecycleState":"ACTIVE","definedTags":{},"freeformTags":{},"inactiveStatus":55172430},{"id":"proident dolore nisi sed enim","compartmentId":"incididunt culpa","name":"reprehenderit aliqua veniam","description":"consectetur deserunt sint","matchingRule":"aliquip magna pr","timeCreated":"1954-09-29T21:15:47.682Z","lifecycleState":"DELETING","definedTags":{},"freeformTags":{},"inactiveStatus":35456037}]