Directus / @directus/sdk / rest / withToken
Function: withToken() ​
withToken<
Schema
,Output
>(token
,getOptions
):RestCommand
<Output
,Schema
>
Defined in: rest/helpers/with-token.ts:3
Type Parameters ​
• Schema
• Output
Parameters ​
token ​
string
getOptions ​
RestCommand
<Output
, Schema
>
Returns ​
RestCommand
<Output
, Schema
>