Directus / @directus/sdk / rest / withToken
Function: withToken() ​
withToken<
Schema
,Output
>(token
,getOptions
):RestCommand
<Output
,Schema
>
Type Parameters ​
• Schema
• Output
Parameters ​
• token: string
• getOptions: RestCommand
<Output
, Schema
>
Returns ​
RestCommand
<Output
, Schema
>