Create generic tokens
The create generic tokens request allows the client application to create generic tokens.
Create generic tokens for user describes the API structure for creating generic tokens.
Title | Create generic tokens for user |
---|---|
URL | http://<impact_url>/m2m/token |
Method | PUT |
Content-Type | application/json |
URL Params |
The following are the URL parameters:
|
Data Params |
The following are the data parameters:
|
Success Code |
Response Code: 202 |
Error Code |
201 : Created 401 : Unauthorized 403 : Forbidden 404 : Not Found |
Sample Call | Curl: Response
Body:
|
Notes |
If length of username field in the request, is more than 50 characters, the following message appears: ‘username' cannot be more than 50 characters. |