This endpoint should be called after being redirected from awsCustomerRedirect. The previous redirect should have stored the token for usage. This endpoint attaches the token (and such the customer details) to the selected project.
awsCustomerRedirect
curl -L \ --request POST \ --url 'https://cloud-api.calyptia.com/v1/projects/{projectID}/aws-contracts' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "amazonMarketplaceToken": "text" }'
No body