View Resource Usage tags applied on an Account

get

/metering/api/v1/usage/{accountId}/tags

Retrieve all tags applied on usage posted for a given account.

Request

Path Parameters
Query Parameters
  • tagType can be NATIVE , NON-NATIVE or ALL. OCI tags are non-native
    Default Value: NATIVE
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : AccountUsageTags
Type: object
Title: AccountUsageTags
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : UsageTag
Type: object
Title: UsageTag
Show Source
Nested Schema : createdOn
Type: object

Default Response

Unexpected error.
Back to Top

Examples

These APIs are deprecated. See Cost Analysis Overview, Using the API for more information on how to track and optimize your Oracle Cloud Infrastructure spending. See the Deprecated Notices (Endpoints) to see if there is a replacement endpoint.

Back to Top