Update an authorisation control beta

Updates the details of a given authorisation control.

SecurityCommonAuth
Request
path Parameters
cardId
required
string <uuid> <= 36 characters

The ID of the card to work with.

Example: e9293471-5eb3-4dbc-916c-dbaf9e2deefd
authControlId
required
string <uuid> <= 36 characters
query Parameters
accountId
required
string

The ID of the account to work with.

Example: accountId=F50091
personId
string <uuid> <= 36 characters

The ID of the person to work with.

Example: personId=775596ae-2624-40af-a9dc-9756110a4a04
Request Body schema: application/json

Body

name
string <= 255 characters

The name of the authorisation control.

active
boolean

If the auth control is active. Default is true.

startTime
string <date-time>

Date and time when the control goes into effect, in UTC.

endTime
string <date-time>

Date and time when the control ends, in UTC.

object
Responses
200

OK

put/cards/{cardId}/auth-controls/{authControlId}
Request samples
application/json
{
  • "name": "Spending controls",
  • "active": true,
  • "startTime": "2023-03-14T12:08:53Z",
  • "endTime": "2023-03-14T12:08:53Z",
  • "merchantScope": {
    }
}
Response samples
application/json
{
  • "name": "Spending controls",
  • "id": "a1e54aed-8a68-4602-a792-30f4c67497cf",
  • "active": true,
  • "startTime": "2023-03-14T12:08:53Z",
  • "endTime": "2023-03-14T12:08:53Z",
  • "merchantScope": {
    }
}