We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PRIVATE_TOKEN
user_credentials
curl http://<Kubera_domain>/v3/token -d '{"code": "<userName>:<userPassword>", "authProvider": "localAuthConfig"}' -H 'Content-Type: application/json'
Response Body :
{"id":null,"type":"token","links":{"remove":null},"actions":{},"baseType":"token","accountId":"1a19","authProvider":"localAuthConfig","code":null,"enabled":true,"inviteCode":null,"jwt":"vdwm22waeEpGebdt4CzNFXHQggKjjQUCWJh7nCM1","projectInvitationCode":null,"redirectUrl":null,"security":true,"slackOauthUrl":"https:\/\/slack.com\/oauth\/authorize?client_id=&scope=bot,incoming-webhook,commands","user":"[email protected]","userType":"user"}
Above body contains jwv key value is TOKEN .
jwv
Example : Get user_Details :
curl http://15.207.111.248/v3/account/1a19 --cookie 'token=vdwm22waeEpGebdt4CzNFXHQggKjjQUCWJh7nCM1; authProvider=localAuthConfig'
Request Body
{"id":"1a19","type":"account","links":{"self":"http:\/\/15.207.111.248\/v3\/accounts\/1a19","billingPlans":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/billingplans","clusters":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/clusters","directorRegistryCredentials":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/directorregistrycredentials","emailInvitations":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/emailinvitations","groupMembers":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/groupmembers","projects":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/projects","userPreferences":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/userpreferences","update":"http:\/\/15.207.111.248\/v3\/accounts\/1a19","remove":"http:\/\/15.207.111.248\/v3\/accounts\/1a19"},"actions":{"listprojectaccounts":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/?action=listprojectaccounts","verifyemail":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/?action=verifyemail","searchuser":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/?action=searchuser","resendemail":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/?action=resendemail","deactivate":"http:\/\/15.207.111.248\/v3\/accounts\/1a19\/?action=deactivate"},"baseType":"account","name":"bhaskar jb","state":"active","accessGrant":true,"clusterId":null,"company":"testCompany","created":"2020-08-07T08:38:05Z","createdTS":1596789485000,"description":null,"email":"[email protected]","eula":true,"externalId":"19","firstName":"bhaskar","kind":"user","lastLogin":"2020-08-07T08:46:54Z","lastName":"jb","metadata":null,"onboardingStatus":3,"phone":"+919900990099","removed":null,"role":"se","transitioning":"no","transitioningMessage":null,"uuid":"f5af179b-1172-4115-9003-fa8fdfd91182","verifiedEmail":false,"version":"2","profileCompletion":100,"activeClusterCount":0,"identity":"1i!rancher_id:19"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Use Kubera api ,
PRIVATE_TOKEN
present in cookies .user_credentials
.Response Body :
Above body contains
jwv
key value is TOKEN .Example :
Get user_Details :
Request Body
The text was updated successfully, but these errors were encountered: