ListTagNamespaces
GET {{baseUrl}}/tagNamespaces?compartmentId={{tenancy_ocid}}&limit=693&includeSubcompartments=true
Lists the tag namespaces in the specified compartment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The OCID of the compartment (remember that the tenancy is simply the root compartment). | |
page | string | The value of the opc-next-page response header from the previous "List" call. | |
limit | number | The maximum number of items to return in a paginated "List" call. | |
includeSubcompartments | boolean | An optional boolean parameter indicating whether to retrieve all tag namespaces in subcompartments. If this | |
parameter is not specified, only the tag namespaces defined in the specified compartment are retrieved. | |||
lifecycleState | string | A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
[{"compartmentId":"ex","definedTags":{},"description":"eu fugiat eiusmod ea aliqua","freeformTags":{},"id":"esse aliqua laboris","isRetired":false,"lifecycleState":"dolore Ut incididunt","name":"Lorem amet","timeCreated":"2007-12-17T07:34:23.101Z"},{"compartmentId":"pariatur cupidatat minim qui","definedTags":{},"description":"non ut consequat","freeformTags":{},"id":"v","isRetired":true,"lifecycleState":"aliquip","name":"ea nostrud proident ut","timeCreated":"2020-08-02T08:11:28.020Z"}]