Shortens the end date of a prepaid commit to terminate it earlier than originally scheduled. Use this endpoint when you need to cancel or reduce the duration of an existing prepaid commit. Only works with prepaid commit types and can only move the end date forward (earlier), not extend it.
To extend commit end dates or make other comprehensive edits, use the ‘edit commit’ endpoint instead.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Update the access or invoice end date of a commit
ID of the customer whose commit is to be updated
ID of the commit to update. Only supports "PREPAID" commits.
RFC 3339 timestamp indicating when access to the commit will end and it will no longer be possible to draw it down (exclusive). If not provided, the access will not be updated.
RFC 3339 timestamp indicating when the commit will stop being invoiced (exclusive). If not provided, the invoice schedule will not be updated.
Success