ListTagDefaults

GET {{baseUrl}}/tagDefaults?limit=693&compartmentId={{tenancy_ocid}}

Lists the tag defaults for tag definitions in the specified compartment.

Request Params

KeyDatatypeRequiredDescription
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.
idstringA filter to only return resources that match the specified OCID exactly.
compartmentIdstringThe OCID of the compartment (remember that the tenancy is simply the root compartment).
tagDefinitionIdstringThe OCID of the tag definition.
lifecycleStatestringA 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":"dolor dolore consequat ex dolor","compartmentId":"ut aliqua sit","tagNamespaceId":"fugiat anim ut","tagDefinitionId":"nostrud non id esse","tagDefinitionName":"esse fugiat","value":"amet et labore minim","timeCreated":"2012-10-27T10:46:53.019Z","isRequired":true,"lifecycleState":"ACTIVE"},{"id":"aliqua aute ea","compartmentId":"Excepteur mollit","tagNamespaceId":"et consequat","tagDefinitionId":"a","tagDefinitionName":"dolore sed fugiat","value":"occaecat irure adipis","timeCreated":"1947-11-25T15:53:46.059Z","isRequired":false,"lifecycleState":"ACTIVE"}]