Renew Auth Tokens For Policy Service
Description
Use this API when an alarm complaining JWT expiry is raised while deploying
partner service VM. The OVF for partner service needs to be downloaded from
partner services provider. It might be possible that the authentication
token for this communication is expired when the service VM deployment
starts. That will either require re-login through UI or use of this API.
Certain authentication and authorization steps are internally processed in
order to enable communication with partner service provider.
This API offers the functionality to re-establish communication with
partner services provider. This API needs open id and access token to be
passed as headers. Those can be obtained from CSP authorize API.
Please make sure to pass headers -
Authorization: and X-NSX-OpenId:.
Request
URL
POST
https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/service-instances/{service-instance-id}?action=reauth
Copy
Parameters
string
tier-0-id
Required
Tier-0 id
string
locale-service-id
Required
Locale service id
string
service-instance-id
Required
Service instance id
Response
200 OK
Operation doesn't return any data structure.
cURL Command
Errors
400
The request cannot be fulfilled due to bad syntax.
403
The server understood the request, but is refusing to fulfill it.
404
The requested resource could not be found but may be available again in the future.
412
No description available
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
503
The server is currently unavailable (because it is overloaded or down for maintenance).