<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://sdk.wialon.com/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://sdk.wialon.com/wiki/feed.php">
        <title>Wialon development portal: unlock the potential of API and SDK en:local:remoteapi2404:apiref:token</title>
        <description></description>
        <link>https://sdk.wialon.com/wiki/</link>
        <image rdf:resource="https://sdk.wialon.com/wiki/lib/tpl/arctic/images/favicon.ico" />
       <dc:date>2026-04-06T01:01:46+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/list?rev=1727903403&amp;do=diff"/>
                <rdf:li rdf:resource="https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/login?rev=1727903403&amp;do=diff"/>
                <rdf:li rdf:resource="https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/token?rev=1727903403&amp;do=diff"/>
                <rdf:li rdf:resource="https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/update?rev=1727903403&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://sdk.wialon.com/wiki/lib/tpl/arctic/images/favicon.ico">
        <title>Wialon development portal: unlock the potential of API and SDK</title>
        <link>https://sdk.wialon.com/wiki/</link>
        <url>https://sdk.wialon.com/wiki/lib/tpl/arctic/images/favicon.ico</url>
    </image>
    <item rdf:about="https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/list?rev=1727903403&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-02T21:10:03+00:00</dc:date>
        <title>Get token list</title>
        <link>https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/list?rev=1727903403&amp;do=diff</link>
        <description>Get token list

For getting token list please use token/list:


svc=token/list&amp;params={&quot;userId&quot;:&lt;text&gt;}


Parameters
Param DescriptionCommentsuserId subuser id optional 
Response


[
    {
	&quot;h&quot;:&lt;text&gt;,		/* unique token name, 72 symbols */
	&quot;app&quot;:&lt;text&gt;,		/* application name */
	&quot;at&quot;:&lt;uint&gt;,		/* token activation time, UNIX-time */
	&quot;ct&quot;:&lt;uint&gt;,		/* token creation time, UNIX-time */
	&quot;dur&quot;:&lt;uint&gt;,		/* token duration after activation, секунды */
	&quot;fl&quot;:&lt;uint&gt;,		/* access flags */
	&quot;ll&quot;:&lt;uint&gt;,		/* l…</description>
    </item>
    <item rdf:about="https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/login?rev=1727903403&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-02T21:10:03+00:00</dc:date>
        <title>Token login</title>
        <link>https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/login?rev=1727903403&amp;do=diff</link>
        <description>Token login

To get token please use forms mentioned in New authorization way.
For processing under token token/login is used. Command signature is as follows:


svc=token/login&amp;params={&quot;token&quot;:&lt;text&gt;,
                        &quot;operateAs&quot;:&lt;text&gt;,
                        &quot;fl&quot;:&lt;uint&gt;}</description>
    </item>
    <item rdf:about="https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/token?rev=1727903403&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-02T21:10:03+00:00</dc:date>
        <title>Tokens</title>
        <link>https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/token?rev=1727903403&amp;do=diff</link>
        <description>Tokens

Here you can find all commands devoted to tokens.
. index</description>
    </item>
    <item rdf:about="https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/update?rev=1727903403&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-02T21:10:03+00:00</dc:date>
        <title>Create/edit/delete token</title>
        <link>https://sdk.wialon.com/wiki/en/local/remoteapi2404/apiref/token/update?rev=1727903403&amp;do=diff</link>
        <description>Create/edit/delete token

This method is used for managing own tokens and user tokens to whom you have access but not for authorization (method token/login is used for that).

To create/edit/delete the token please use token/update command:


svc=token/update&amp;params={&quot;callMode&quot;:&lt;text&gt;,
			 &quot;userId&quot;:&lt;text&gt;,
			 &quot;h&quot;:&lt;text&gt;,
			 &quot;app&quot;:&lt;text&gt;,
			 &quot;at&quot;:&lt;uint&gt;,
			 &quot;dur&quot;:&lt;uint&gt;,
			 &quot;fl&quot;:&lt;uint&gt;,
			 &quot;p&quot;:&lt;text&gt;,
			 &quot;items&quot;:[&lt;long&gt;],
			 &quot;deleteAll&quot;:&lt;bool&gt;|&lt;text&gt;}</description>
    </item>
</rdf:RDF>
