projectIds. Send the returned token in the X-Scoped-Token header. Tokens last at most six hours and cannot issue other tokens.
Signature
Method signature onclient.projects:
Parameters
Pass one of the argument shapes shown in the signature.A named permission set:
read (Read everything), write (Read, write and decide customer reviews; cannot launch runs), deploy (Read, write, decide customer reviews and launch runs that spend money), labeling-read (Data labeling: read), labeling-write (Data labeling: read, write and decide customer reviews; cannot launch pipelines), labeling-deploy (Data labeling: read, write, decide customer reviews and launch pipelines that spend money).Further projects the token may act in; the project in the path is always included. All projects must belong to the same team.
Returns
Promise<ScopedToken>
Errors
HTTP errors throwPotatoApiError. The endpoint documents these error responses:
HTTP endpoint:
POST /projects/{projectId}/tokens.