Skip to content

Commit 23f593b

Browse files
committed
Merge branch 'main' of https://github.com/wordlift/docs
2 parents a4ebe63 + 3824d0a commit 23f593b

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

api/manager.yaml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,8 +1617,9 @@ paths:
16171617
- Platform Consumptions
16181618
/platform-limit/consumptions/{id}:
16191619
delete:
1620+
deprecated: true
16201621
description: Allow admins to delete platform consumptions.
1621-
operationId: deletePlatformConsumption
1622+
operationId: deletePlatformConsumptionById
16221623
parameters:
16231624
- in: path
16241625
name: id
@@ -1632,6 +1633,39 @@ paths:
16321633
security:
16331634
- ApiKey: []
16341635
- OAuth2: []
1636+
summary: Delete Platform Consumption by ID
1637+
tags:
1638+
- Platform Consumptions
1639+
/platform-limit/consumptions/{referenceType}/{referenceId}/{appliesTo}:
1640+
delete:
1641+
description: Allow admins to delete platform consumptions.
1642+
operationId: deletePlatformConsumption
1643+
parameters:
1644+
- in: path
1645+
name: referenceType
1646+
required: true
1647+
schema:
1648+
type: string
1649+
enum:
1650+
- SUBSCRIPTION
1651+
- ACCOUNT
1652+
- in: path
1653+
name: referenceId
1654+
required: true
1655+
schema:
1656+
type: integer
1657+
format: int64
1658+
- in: path
1659+
name: appliesTo
1660+
required: true
1661+
schema:
1662+
type: string
1663+
responses:
1664+
"204":
1665+
description: Done
1666+
security:
1667+
- ApiKey: []
1668+
- OAuth2: []
16351669
summary: Delete Platform Consumption
16361670
tags:
16371671
- Platform Consumptions
@@ -4291,7 +4325,6 @@ components:
42914325
consumption:
42924326
type: integer
42934327
format: int32
4294-
minimum: 1
42954328
id:
42964329
type: integer
42974330
format: int64
@@ -4317,6 +4350,8 @@ components:
43174350
format: int32
43184351
required:
43194352
- applies_to
4353+
- reference_id
4354+
- reference_type
43204355
securitySchemes:
43214356
ApiKey:
43224357
description: "`Key {your key}`"

0 commit comments

Comments
 (0)