Update agency
Update an agency for the currently authenticated user.
Path parameters
The ID of the agency to update.
Body parameters
The name of the agency.
The agency's primary email address.
The ISO 3166 country code for the agency's location.
The agency's preferred timezone. The value must be a valid timezone string, check the list of supported timezones for more information.
The agency's website URL.
A short description about the agency.
The asset URL for the agency's avatar.
Response
import Blutui from 'blutui'
const blutui = new Blutui('ey....')
blutui.agencies.update('9af3accc-1536-4336-8cc3-3b3b2a96c18a', {
url: 'https://flume.awesome'
}){
"id": "9af3accc-1536-4336-8cc3-3b3b2a96c18a",
"object": "agency",
"name": "Flume",
"email": "jayan@flume.agency",
"slug": "flume",
"url": "https://flume.agency",
"location": "NZ",
"timezone": "UTC",
"avatar": null,
"description": null,
"trial_mode": false,
"is_agency": false,
"is_aws_customer": false,
"created_at": 1703713667,
"updated_at": 1721087098
}The unique identifier for this agency.
This will always contain agency for this endpoint.
The agency name.
The agency's preferred email address.
The agency's unique username.
The agency's website URL.
The ISO 3166 country code for the agency's location.
The agency's preferred timezone.
The asset URL for the agency's avatar.
A short description about the agency.
Determine whether the agency is subscribed to Blutui.
Determine whether the agency is a qualified Blutui agency.
Determine whether the agency is an AWS marketplace customer.
The agency's created at timestamp.
The agency's updated at timestamp.
Last updated on