Developer Community

Reply
Highlighted
Occasional Contributor II

Api call without token

Hi each time when i do a api call i need a token .

 

so my requirement is to call api without using token 

or if i generate that token then its never going to expire

 

can any one help me out

Highlighted
MVP Guru Elite

Re: Api call without token

What language do you are using ?

 

the best pratice is to use client_id and client_secret and call api to generate token

 

you can also generate a token with very long life (like one year...)



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
Occasional Contributor II

Re: Api call without token

Hi i am just using Curl command to execute api call.

 

 

Can you tell me the way how to generate token for very long 

Highlighted
MVP Guru Elite

Re: Api call without token

 

CPPM_Create_API_ClientWhen, you create the client_id/client_secret, you can configure the Access Token Lifetime

 

but if you look the api/oauth API call, with the client_id and client_secret, generate access token

 



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: