v10

latestOpenAPI 3.0.1raw.githubusercontent.com2025-12-033223581.2 MB
AccountPlan

Delete AccountPlan

Delete the AccountPlan or AccountPlanGroup with the given UUID.

This endpoint deletes an AccountPlan or AccountPlanGroup that has been attached to a specific Account in your Organization.

delete/organizations/{orgId}/accountplans/{id}

Path parameters

orgIdstring required

The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.

idstring required

The unique identifer (UUID) of the AccountPlan or AccountPlanGroup to delete.

Response

Returns the deleted AccountPlan or AccountPlanGroup

idstring required

The UUID of the entity.

versioninteger

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
customFieldsobject

User defined fields enabling you to attach custom data. The value for a custom field can be either a string or a number.

If customFields can also be defined for this entity at the Organizational level,customField values defined at individual level override values of customFields with the same name defined at Organization level.

See Working with Custom Fields in the m3ter documentation for more information.

accountIdstring

The unique identifier (UUID) for the Account to which the AccountPlan or AccounPlanGroup is attached.

productIdstring

The unique identifier (UUID) for the Product associated with the AccountPlan.

Note: Not present in response for AccountPlanGroup - Plan Groups can contain multiple Plans belonging to different Products.

planIdstring

The unique identifier (UUID) of the Plan that has been attached to the Account to create the AccountPlan.

planGroupIdstring

The unique identifier (UUID) of the Plan Group that has been attached to the Account to create the AccountPlanGroup.

startDatestring date-time

The start date (in ISO-8601 format) for the when the AccountPlan or AccountPlanGroup starts to be active for the Account.

endDatestring date-time

The end date (in ISO-8601 format) for when the AccountPlan or AccountPlanGroup ceases to be active for the Account. If not specified, the AccountPlan or AccountPlanGroup remains active indefinitely.

codestring

The unique short code of the AccountPlan or AccountPlanGroup.

billEpochstring date

The initial date for creating the first bill against the Account for charges due under the AccountPlan or AccountPlanGroup. All subsequent bill creation dates are calculated from this date. If left empty, the first bill date definedfor the Account is used. The date is in ISO-8601 format.

contractIdstring

The unique identifier (UUID) for the Contract to which the Plan or Plan Group attached to the Account has been added.

childBillingMode'PARENT_SUMMARY' | 'PARENT_BREAKDOWN' | 'CHILD'

If the Account is either a Parent or a Child Account, this specifies the Account hierarchy billing mode. The mode determines how billing will be handled and shown on bills for charges due on the Parent Account, and charges due on Child Accounts:

  • Parent Breakdown - a separate bill line item per Account. Default setting.

  • Parent Summary - single bill line item for all Accounts.

  • Child - the Child Account is billed.

dtCreatedstring date-time

The date and time (in ISO 8601 format) when the AccountPlan or AccountPlanGroup was first created.

dtLastModifiedstring date-time

The date and time (in ISO 8601 format) when the AccountPlan or AccountPlanGroup was last modified.

createdBystring

The unique identifier (UUID) for the user who created the AccountPlan or AccountPlanGroup.

lastModifiedBystring

The unique identifier (UUID) for the user who last modified the AccountPlan or AccountPlanGroup.