v1
latestOpenAPI 3.1.02026-07-242325051.4 MBAuthenticationToken
AuthenticationToken:Update
Update an existing authentication token. You can only update the authentication token if it is associated with your own merchant registration. If the authentication token is not associated with your own merchant registration, you must have access to the corresponding merchant.
patch/v2/authenticationtokens/{authenticationTokenCode}
Path parameters
authenticationTokenCodestring required
Provide the AT-code of the authentication token you want to update.
Request body
Example request
{
"description": "token1",
"authorisation": "specified",
"authorisationGroups": [
"AG-1234-4321"
],
"ipFilter": {
"type": "DENY_FROM_ALL",
"exceptionList": [
"10.11.12.13"
]
}
}Response
Updated
Example response
{
"code": "AT-1233-1322",
"secret": "95c4ae0613c23435089dc0b480d98ce786a4e22a",
"name": "The description of the token",
"merchant": {
"code": "M-1234-4321",
"name": "GMS Demo Merchant",
"status": "ACTIVE"
},
"authorisation": "specified",
"ipFilter": {
"type": "DENY_FROM_ALL"
},
"createdAt": "2024-06-04T08:15:00+01:00",
"createdBy": "A-1234-4321",
"modifiedAt": "2024-06-04T08:15:00+01:00",
"modifiedBy": "A-1234-4321",
"deletedAt": "A-1234-4321",
"deletedBy": "A-1234-4321"
}