Company
Set or replace a company variable
Upserts one variable by name. Replace rather than create-or-update because a caller setting a name that already exists is always the operation wanted; there is no separate create.
Required entitlement: regulated.parties.canModifyCompany
Entitles the regulated user to modify company information for their customer accounts
put/api-regulated/v1/introducing-brokers/{introducingBrokerId}/companies/{companyId}/variables
Request
- Base URL: https://api.currencyguard.com
- URL: https://api.currencyguard.com/api-regulated/v1/introducing-brokers/{introducingBrokerId}/companies/{companyId}/variables
- Auth: OAuth 2 (implicit, authorization URL https://auth.currencyguard.com/oauth2/authorize, scopes: regulated.parties.canModifyCompany)
Path parameters
introducingBrokerIdstring uuid required
Introducing Broker ID
companyIdstring uuid required
Company ID
Request body
Example request
{
"name": "TRANSFERMATE_PASSWORD",
"value": "s3cret-from-transfermate"
}Response
Variable stored; returns the full variable list
Example response
[
{
"name": "TRANSFERMATE_USERNAME",
"value": "FASTER_PAYMENTS"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.