Skip to main content
POST
Move commits and credits to historical

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Customer, contract, and commit or credit IDs to move to historical

Provide up to 1000 IDs across commit_ids and credit_ids combined.

customer_id
string<uuid>
required

ID of the customer whose commits or credits are being moved to historical

contract_id
string<uuid>
required

ID of the contract containing the commits or credits

commit_ids
string<uuid>[]

IDs of the commits to move to historical

credit_ids
string<uuid>[]

IDs of the credits to move to historical

dry_run
boolean

If true, previews which commits or credits would be moved to historical and which would be skipped, without making changes

Response

Success

data
object
required