ListCostTrackingTags
GET {{baseUrl}}/tagNamespaces/actions/listCostTrackingTags?compartmentId={{tenancy_ocid}}&limit=693
Lists all the tags enabled for cost-tracking in the specified tenancy. For information about cost-tracking tags, see Using Cost-tracking Tags.
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. | |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
[{"compartmentId":"dolor nisi","tagNamespaceId":"non incididunt sit","tagNamespaceName":"irure","id":"occaecat dolor mol","name":"cillum dolore minim fugiat ex","description":"laboris aliquip exercitation","isRetired":true,"timeCreated":"1961-02-09T08:05:19.954Z","definedTags":{},"freeformTags":{},"isCostTracking":false,"lifecycleState":"INACTIVE","validator":{"validatorType":"DEFAULT"}},{"compartmentId":"irure","tagNamespaceId":"ea culpa conse","tagNamespaceName":"cillum","id":"proident ipsum","name":"Duis aute consectetur","description":"veniam","isRetired":true,"timeCreated":"1958-03-23T01:37:45.985Z","definedTags":{},"freeformTags":{},"isCostTracking":false,"lifecycleState":"INACTIVE","validator":{"validatorType":"ENUM"}}]