Give access to project

Give access to project

Authorize a third party to access a project

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/third-party-auth/{authId}/authorize
Path parameters
projectId*integer

Project ID

authId*integer

Auth ID

Body
nextUrl*string

The URL to redirect to after authorization is completed.

Response

A redirect to the nextUrl from the request

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/third-party-auth/{authId}/authorize', {
    method: 'POST',
    headers: {
      "Content-Type": "multipart/form-data"
    },
    body: JSON.stringify({
      "nextUrl": "text"
    }),
});
const data = await response.json();

Last updated