Renew bot control
Ten poradnik jest dostępny tylko po angielsku.
POST
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringFormat
uuidbot_id*stringFormat
uuidapplication/json- body
token*stringttlSeconds?integerFormat
int64Range
0 <= value <= 4294967295Successful response.
application/json- response
lease*curl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/control:renew' \
-H 'Content-Type: application/json' \
-d '{
"token": "string"
}'Example Response
{
"lease": {
"token": "string",
"expiresAt": "2019-08-24T14:15:22Z"
}
}Czy ta strona jest pomocna?
