Scripts

Rotate an endpoint's bearer token

post/api/scripts/{id}/apis/{endpointId}/rotate

Path parameters

idstring uuid required
endpointIdstring required

Response

Endpoint with new plaintext token

idstring required
scriptIdstring required
agentIdstring required
authMode'none' | 'bearer' required
enabledboolean required
labelstring nullable required
callCountnumber required
lastUsedAtstring nullable required
createdAtstring required
tokenstring nullable required