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

Responses
200

200 response

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
}
Response samples
application/json
{
  • "message": "string"
}