Update Cost Account

Update Cost Account

SecuritybearerAuth
Request
path Parameters
costaccountId
required
string
header Parameters
X-PB-Developer-Partner-ID
string

This is the Developer Partner ID. When the developer is the only partner, this field is not required.

Request Body schema: application/json
description
string

this indicates the description of cost account

status
boolean

this indicates if cost account is active

passwordEnabled
boolean

this indicates if password is enabled

passwordCode
string

this defines password set for the cost account

billable
boolean

this indicates if cost account is billable

object

Additional configuration options for assigning the cost account to a specific hierarchy level (Enterprise, Division, or Location). If no permission is provided, the cost account is assigned to the Enterprise level by default.

Responses
200

Specified cost account updated successfully.

401

The request could not be authorized.

put/api/v1/costAccounts/{costaccountId}
Request samples
application/json
{
  • "description": "description",
  • "status": true,
  • "passwordEnabled": true,
  • "passwordCode": "test",
  • "billable": true,
  • "advanceOption": {
    }
}
Response samples
application/json
{
  • "message": "string"
}