cURL
Disable AccessKey
curl --request PUT \ --url https://api.getsafepay.com/raastwire/v1/aggregators/{raast-aggregator-id}/keys/{access-key-id} \ --header 'Content-Type: application/json' \ --header 'X-SFPY-AGGREGATOR-SECRET-KEY: <api-key>' \ --data ' { "is_active": false } '
{ "api_version": "v1", "data": {} }
Update your access key
The unique identifier for the aggregator
"agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e"
The unique identifier for the access key
"ak_da8f1c10-346a-4be8-895a-b6187a9a9662"
Request to update an existing access key
Fields that can be modified on an existing access key
Toggle indicating whether the key should be active
false
Updated label for the access key
"Updated Access Key"
Successful operation
Standard response structure for successful operations
The current version of the API spec
"v1"
Empty payload structure returned for successful operations without additional data
{}
Was this page helpful?