Rotate upload portal token

Rotate upload portal token

Rotates the token for an upload portal.

DELETEhttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/portals/{portalId}/rotate-token
Path parameters
organizationId*integer

Organization ID

portalId*integer

Portal ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/portals/{portalId}/rotate-token', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated