AdminTokenUpdateResponse UpdateToken(ctx, tokenID, adminTokenUpdateRequest, optional)
This updates a token
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| tokenID | string | ID of Token | |
| adminTokenUpdateRequest | AdminTokenUpdateRequest | The input for updateToken | |
| optional | *UpdateTokenOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a UpdateTokenOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
Return type
AdminTokenUpdateResponse
Authorization
api_key
- Content-Type: application/json
- Accept: application/json