Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 8 additions & 24 deletions hugo/data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224261,7 +224261,7 @@ paths:
/api/v2/usage/quotas/{quota_namespace}:
get:
description: |-
Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.
Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `billing_edit` permission.
operationId: ListQuotas
parameters:
- description: The product-specific namespace whose usage quotas are being managed.
Expand Down Expand Up @@ -224334,9 +224334,7 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- user_access_manage
- billing_edit
- org_management
summary: List usage quotas
tags:
- Usage Metering
Expand All @@ -224347,17 +224345,15 @@ paths:
limitParam: page[limit]
resultsPath: data
"x-permission":
operator: AND
operator: OR
permissions:
- user_access_manage
- billing_edit
- org_management
x-unstable: |-
**Note**: This endpoint is in Preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
post:
description: |-
Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.
Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `billing_edit` permission.
operationId: CreateQuotas
parameters:
- description: The product-specific namespace whose usage quotas are being managed.
Expand Down Expand Up @@ -224445,26 +224441,22 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- user_access_manage
- billing_edit
- org_management
summary: Create or update usage quotas
tags:
- Usage Metering
x-menu-order: 15
"x-permission":
operator: AND
operator: OR
permissions:
- user_access_manage
- billing_edit
- org_management
x-unstable: |-
**Note**: This endpoint is in Preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/usage/quotas/{quota_namespace}/{id}:
delete:
description: |-
Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.
Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission.
operationId: DeleteQuota
parameters:
- description: The product-specific namespace whose usage quotas are being managed.
Expand Down Expand Up @@ -224502,25 +224494,21 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- user_access_manage
- billing_edit
- org_management
summary: Delete a usage quota
tags:
- Usage Metering
x-menu-order: 17
"x-permission":
operator: AND
operator: OR
permissions:
- user_access_manage
- billing_edit
- org_management
x-unstable: |-
**Note**: This endpoint is in Preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
patch:
description: |-
Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.
Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission.
operationId: UpdateQuota
parameters:
- description: The product-specific namespace whose usage quotas are being managed.
Expand Down Expand Up @@ -224596,19 +224584,15 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- user_access_manage
- billing_edit
- org_management
summary: Update a usage quota
tags:
- Usage Metering
x-menu-order: 16
"x-permission":
operator: AND
operator: OR
permissions:
- user_access_manage
- billing_edit
- org_management
x-unstable: |-
**Note**: This endpoint is in Preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down
8 changes: 4 additions & 4 deletions hugo/data/api/v2/translate_actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7367,21 +7367,21 @@
"summary": "Get projected cost across your account"
},
"ListQuotas": {
"description": "Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.",
"description": "Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `billing_edit` permission.",
"summary": "List usage quotas"
},
"CreateQuotas": {
"description": "Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.",
"description": "Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `billing_edit` permission.",
"summary": "Create or update usage quotas",
"request_description": "The usage quotas to create or update.",
"request_schema_description": "A JSON:API bulk request containing an array of usage quota resources rather than a single resource."
},
"DeleteQuota": {
"description": "Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.",
"description": "Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission.",
"summary": "Delete a usage quota"
},
"UpdateQuota": {
"description": "Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.",
"description": "Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission.",
"summary": "Update a usage quota",
"request_description": "The usage quota fields to update. Omitting an attribute leaves its current value unchanged.",
"request_schema_description": "Request containing the usage quota resource to update."
Expand Down
Loading