Poll a production step-up
POST
Poll with the device_code from the step-up request, using the same API key that opened it. Returns 400 with error until a person decides, then 200 with allowed_until: this key may read production values until then. Requires the coding:secrets:reveal scope.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
application/json- body
device_code*stringLength
1 <= length <= 200Request fulfilled, document follows
application/json- response
allowed_until*stringFormat
date-timecurl -X POST 'https://api.syndai.ai/api/v1/external/coding/cli/production-access/token' \ -H 'Content-Type: application/json' \ -d '{ "device_code": "string"}'Example Response
{ "allowed_until": "2019-08-24T14:15:22Z"}