Token Service REST Endpoints

OAuth2/Token Service
The token service resource is used to obtain the access token of the application. The OAuth2 token service issues access tokens that are used for authenticating REST API requests.
Get an access token
Method: post
Path: /rest/oauthTokenService/v2/token
Get an access token (Deprecated)
Method: post
Path: /rest/oauthTokenService/v1/token