<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Extend APIC API token timeout in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/5011131#M3233</link>
    <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/823720"&gt;@mr.richardb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has this been resolved?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 14:53:30 GMT</pubDate>
    <dc:creator>Ruben Cocheno</dc:creator>
    <dc:date>2024-02-01T14:53:30Z</dc:date>
    <item>
      <title>Extend APIC API token timeout</title>
      <link>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/4762123#M147</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I was wondering the other day if there is a API call that can increase the API token timeout. Right now it is 600sec=10mins which is okay but could be more. I came across this managed object &lt;EM&gt;"/uni/userext/pkiext/webtokendata"&lt;/EM&gt; while googling other ACI stuff which hold the settings for various things. So I did a little visore digging ad found this &lt;EM&gt;"webtokenTimeoutSeconds&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;"&lt;/EM&gt; object which was set to 600sec. So I started to play with it and it worked. I was able to extend the token lifetime.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp; API endpoint is&amp;nbsp;&lt;A href="https://apic.example.com" target="_blank" rel="noopener"&gt;https://apic.example.com&lt;/A&gt;&lt;STRONG&gt;/api/node/mo/uni/userext/pkiext/webtokendata.json&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And the POST request body is the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
	"pkiWebTokenData": {
		"attributes": {
			"dn": "uni/userext/pkiext/webtokendata",
                        "webtokenTimeoutSeconds": "3600"
		},
		"children": []
	}
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps for anyone else too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ricgard&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 14:23:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/4762123#M147</guid>
      <dc:creator>mr.richardb</dc:creator>
      <dc:date>2023-01-25T14:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Extend APIC API token timeout</title>
      <link>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/4777563#M148</link>
      <description>&lt;P&gt;Thanks for sharing!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 16:13:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/4777563#M148</guid>
      <dc:creator>Alexander Stevenson</dc:creator>
      <dc:date>2023-02-17T16:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Extend APIC API token timeout</title>
      <link>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/4811241#M160</link>
      <description>&lt;P&gt;I used this example for uploading firmware to the GUI. The upload was timing out with a 403 failure. I used this exact query as a get and it showed 600. I then did the post and added the body and it updated to 3600. I re-ran the get request and it showed 3600. I then re-uploaded the firmware and it was successful. Thanks for the post!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 15:20:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/4811241#M160</guid>
      <dc:creator>apfeil</dc:creator>
      <dc:date>2023-04-10T15:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extend APIC API token timeout</title>
      <link>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/5011131#M3233</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/823720"&gt;@mr.richardb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has this been resolved?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 14:53:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/5011131#M3233</guid>
      <dc:creator>Ruben Cocheno</dc:creator>
      <dc:date>2024-02-01T14:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extend APIC API token timeout</title>
      <link>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/5011154#M3242</link>
      <description>&lt;P&gt;The help is in the original post on this one.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 15:08:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/extend-apic-api-token-timeout/m-p/5011154#M3242</guid>
      <dc:creator>apfeil</dc:creator>
      <dc:date>2024-02-01T15:08:06Z</dc:date>
    </item>
  </channel>
</rss>

