Update an account
PUT
/v1/account/{id}/
const url = 'https://example.com/v1/account/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"address_line_1":"example","address_line_2":"example","admin_contact":"hello@example.com","billing_contact":"hello@example.com","city":"example","country":"AF","deactivated_comment":"example","deactivated_reason":0,"name":"example","parent":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","phone_number":"example","sandbox_is_active":true,"security_contact":"hello@example.com","zip_code":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/v1/account/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "address_line_1": "example", "address_line_2": "example", "admin_contact": "hello@example.com", "billing_contact": "hello@example.com", "city": "example", "country": "AF", "deactivated_comment": "example", "deactivated_reason": 0, "name": "example", "parent": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "phone_number": "example", "sandbox_is_active": true, "security_contact": "hello@example.com", "zip_code": "example" }'Replace all mutable fields of an existing account.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
A UUID string identifying this account.
Request Bodyrequired
Section titled “Request Bodyrequired”A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
object
address_line_1
string
address_line_2
string
admin_contact
Admin contact email
string format: email
agent_type_display
required
object
key
additional properties
boolean
billing_contact
Billing contact email
string format: email
city
string
account_config
required
string format: uuid
country_name
required
string
country
required
AF- AfghanistanAX- Åland IslandsAL- AlbaniaDZ- AlgeriaAS- American SamoaAD- AndorraAO- AngolaAI- AnguillaAQ- AntarcticaAG- Antigua and BarbudaAR- ArgentinaAM- ArmeniaAW- ArubaAU- AustraliaAT- AustriaAZ- AzerbaijanBS- Bahamas (The)BH- BahrainBD- BangladeshBB- BarbadosBY- BelarusBE- BelgiumBZ- BelizeBJ- BeninBM- BermudaBT- BhutanBO- BoliviaBQ- Bonaire, Sint Eustatius and SabaBA- Bosnia and HerzegovinaBW- BotswanaBV- Bouvet IslandBR- BrazilIO- British Indian Ocean TerritoryBN- BruneiBG- BulgariaBF- Burkina FasoBI- BurundiCV- Cabo VerdeKH- CambodiaCM- CameroonCA- CanadaKY- Cayman IslandsCF- Central African RepublicTD- ChadCL- ChileCN- ChinaCX- Christmas IslandCC- Cocos (Keeling) IslandsCO- ColombiaKM- ComorosCG- CongoCK- Cook IslandsCR- Costa RicaCI- Côte d’IvoireHR- CroatiaCU- CubaCW- CuraçaoCY- CyprusCZ- CzechiaCD- Democratic Republic of the CongoDK- DenmarkDJ- DjiboutiDM- DominicaDO- Dominican RepublicEC- EcuadorEG- EgyptSV- El SalvadorGQ- Equatorial GuineaER- EritreaEE- EstoniaSZ- EswatiniET- EthiopiaFK- Falkland Islands (Malvinas)FO- Faroe IslandsFJ- FijiFI- FinlandFR- FranceGF- French GuianaPF- French PolynesiaTF- French Southern TerritoriesGA- GabonGM- GambiaGE- GeorgiaDE- GermanyGH- GhanaGI- GibraltarGR- GreeceGL- GreenlandGD- GrenadaGP- GuadeloupeGU- GuamGT- GuatemalaGG- GuernseyGN- GuineaGW- Guinea-BissauGY- GuyanaHT- HaitiHM- Heard Island and McDonald IslandsHN- HondurasHK- Hong KongHU- HungaryIS- IcelandIN- IndiaID- IndonesiaIR- IranIQ- IraqIE- IrelandIM- Isle of ManIL- IsraelIT- ItalyJM- JamaicaJP- JapanJE- JerseyJO- JordanKZ- KazakhstanKE- KenyaKI- KiribatiKW- KuwaitKG- KyrgyzstanLA- LaosLV- LatviaLB- LebanonLS- LesothoLR- LiberiaLY- LibyaLI- LiechtensteinLT- LithuaniaLU- LuxembourgMO- MacaoMG- MadagascarMW- MalawiMY- MalaysiaMV- MaldivesML- MaliMT- MaltaMH- Marshall IslandsMQ- MartiniqueMR- MauritaniaMU- MauritiusYT- MayotteMX- MexicoFM- MicronesiaMD- MoldovaMC- MonacoMN- MongoliaME- MontenegroMS- MontserratMA- MoroccoMZ- MozambiqueMM- MyanmarNA- NamibiaNR- NauruNP- NepalNL- NetherlandsNC- New CaledoniaNZ- New ZealandNI- NicaraguaNE- NigerNG- NigeriaNU- NiueNF- Norfolk IslandKP- North KoreaMK- North MacedoniaMP- Northern Mariana IslandsNO- NorwayOM- OmanPK- PakistanPW- PalauPS- PalestinePA- PanamaPG- Papua New GuineaPY- ParaguayPE- PeruPH- PhilippinesPN- PitcairnPL- PolandPT- PortugalPR- Puerto RicoQA- QatarRE- RéunionRO- RomaniaRU- RussiaRW- RwandaBL- Saint BarthélemySH- Saint HelenaKN- Saint Kitts and NevisLC- Saint LuciaMF- Saint Martin (French part)PM- Saint Pierre and MiquelonVC- Saint Vincent and the GrenadinesWS- SamoaSM- San MarinoST- Sao Tome and PrincipeSA- Saudi ArabiaSN- SenegalRS- SerbiaSC- SeychellesSL- Sierra LeoneSG- SingaporeSX- Sint Maarten (Dutch part)SK- SlovakiaSI- SloveniaSB- Solomon IslandsSO- SomaliaZA- South AfricaGS- South GeorgiaKR- South KoreaSS- South SudanES- SpainLK- Sri LankaSD- SudanSR- SurinameSJ- Svalbard and Jan MayenSE- SwedenCH- SwitzerlandSY- SyriaTW- TaiwanTJ- TajikistanTZ- TanzaniaTH- ThailandTL- Timor-LesteTG- TogoTK- TokelauTO- TongaTT- Trinidad and TobagoTN- TunisiaTR- TürkiyeTM- TurkmenistanTC- Turks and Caicos IslandsTV- TuvaluUG- UgandaUA- UkraineAE- United Arab EmiratesGB- United KingdomUM- United States Minor Outlying IslandsUS- United States of AmericaUY- UruguayUZ- UzbekistanVU- VanuatuVA- Vatican CityVE- VenezuelaVN- VietnamVG- Virgin Islands (British)VI- Virgin Islands (U.S.)WF- Wallis and FutunaEH- Western SaharaYE- YemenZM- ZambiaZW- Zimbabwe
string
created_at
required
string format: date-time
created_by
required
string format: uuid
current_membership
required
string format: uuid
deactivated_comment
string
deactivated_reason
0- I don’t use the solution anymore1- The tool setup is too complicated2- Doesn’t meet my expectations3- I never have downtime, no need monitoring :)4- Another solution suits me better5- One essential feature is missing6- Other
integer
deactivated_reason_text
required
string
events_start_at
required
string format: date-time
id
required
string format: uuid
modified_at
required
string format: date-time
modified_by
required
string format: uuid
name
required
string
number_logs_bytes
required
integer
number_monitors
required
integer
number_of_each_status
required
Array<object>
object
key
additional properties
integer
number_ok_monitors
required
integer
number_ok_services
required
integer
number_recordingrules
required
integer
number_servers_online
required
integer
number_servers
required
integer
number_services
required
integer
number_silenced
required
integer
parent
string format: uuid
phone_number
string
registration_key
required
string
sandbox_is_active
boolean
security_contact
Security contact email
string format: email
zip_code
string
A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
object
address_line_1
string
address_line_2
string
admin_contact
Admin contact email
string format: email
agent_type_display
required
object
key
additional properties
boolean
billing_contact
Billing contact email
string format: email
city
string
account_config
required
string format: uuid
country_name
required
string
country
required
AF- AfghanistanAX- Åland IslandsAL- AlbaniaDZ- AlgeriaAS- American SamoaAD- AndorraAO- AngolaAI- AnguillaAQ- AntarcticaAG- Antigua and BarbudaAR- ArgentinaAM- ArmeniaAW- ArubaAU- AustraliaAT- AustriaAZ- AzerbaijanBS- Bahamas (The)BH- BahrainBD- BangladeshBB- BarbadosBY- BelarusBE- BelgiumBZ- BelizeBJ- BeninBM- BermudaBT- BhutanBO- BoliviaBQ- Bonaire, Sint Eustatius and SabaBA- Bosnia and HerzegovinaBW- BotswanaBV- Bouvet IslandBR- BrazilIO- British Indian Ocean TerritoryBN- BruneiBG- BulgariaBF- Burkina FasoBI- BurundiCV- Cabo VerdeKH- CambodiaCM- CameroonCA- CanadaKY- Cayman IslandsCF- Central African RepublicTD- ChadCL- ChileCN- ChinaCX- Christmas IslandCC- Cocos (Keeling) IslandsCO- ColombiaKM- ComorosCG- CongoCK- Cook IslandsCR- Costa RicaCI- Côte d’IvoireHR- CroatiaCU- CubaCW- CuraçaoCY- CyprusCZ- CzechiaCD- Democratic Republic of the CongoDK- DenmarkDJ- DjiboutiDM- DominicaDO- Dominican RepublicEC- EcuadorEG- EgyptSV- El SalvadorGQ- Equatorial GuineaER- EritreaEE- EstoniaSZ- EswatiniET- EthiopiaFK- Falkland Islands (Malvinas)FO- Faroe IslandsFJ- FijiFI- FinlandFR- FranceGF- French GuianaPF- French PolynesiaTF- French Southern TerritoriesGA- GabonGM- GambiaGE- GeorgiaDE- GermanyGH- GhanaGI- GibraltarGR- GreeceGL- GreenlandGD- GrenadaGP- GuadeloupeGU- GuamGT- GuatemalaGG- GuernseyGN- GuineaGW- Guinea-BissauGY- GuyanaHT- HaitiHM- Heard Island and McDonald IslandsHN- HondurasHK- Hong KongHU- HungaryIS- IcelandIN- IndiaID- IndonesiaIR- IranIQ- IraqIE- IrelandIM- Isle of ManIL- IsraelIT- ItalyJM- JamaicaJP- JapanJE- JerseyJO- JordanKZ- KazakhstanKE- KenyaKI- KiribatiKW- KuwaitKG- KyrgyzstanLA- LaosLV- LatviaLB- LebanonLS- LesothoLR- LiberiaLY- LibyaLI- LiechtensteinLT- LithuaniaLU- LuxembourgMO- MacaoMG- MadagascarMW- MalawiMY- MalaysiaMV- MaldivesML- MaliMT- MaltaMH- Marshall IslandsMQ- MartiniqueMR- MauritaniaMU- MauritiusYT- MayotteMX- MexicoFM- MicronesiaMD- MoldovaMC- MonacoMN- MongoliaME- MontenegroMS- MontserratMA- MoroccoMZ- MozambiqueMM- MyanmarNA- NamibiaNR- NauruNP- NepalNL- NetherlandsNC- New CaledoniaNZ- New ZealandNI- NicaraguaNE- NigerNG- NigeriaNU- NiueNF- Norfolk IslandKP- North KoreaMK- North MacedoniaMP- Northern Mariana IslandsNO- NorwayOM- OmanPK- PakistanPW- PalauPS- PalestinePA- PanamaPG- Papua New GuineaPY- ParaguayPE- PeruPH- PhilippinesPN- PitcairnPL- PolandPT- PortugalPR- Puerto RicoQA- QatarRE- RéunionRO- RomaniaRU- RussiaRW- RwandaBL- Saint BarthélemySH- Saint HelenaKN- Saint Kitts and NevisLC- Saint LuciaMF- Saint Martin (French part)PM- Saint Pierre and MiquelonVC- Saint Vincent and the GrenadinesWS- SamoaSM- San MarinoST- Sao Tome and PrincipeSA- Saudi ArabiaSN- SenegalRS- SerbiaSC- SeychellesSL- Sierra LeoneSG- SingaporeSX- Sint Maarten (Dutch part)SK- SlovakiaSI- SloveniaSB- Solomon IslandsSO- SomaliaZA- South AfricaGS- South GeorgiaKR- South KoreaSS- South SudanES- SpainLK- Sri LankaSD- SudanSR- SurinameSJ- Svalbard and Jan MayenSE- SwedenCH- SwitzerlandSY- SyriaTW- TaiwanTJ- TajikistanTZ- TanzaniaTH- ThailandTL- Timor-LesteTG- TogoTK- TokelauTO- TongaTT- Trinidad and TobagoTN- TunisiaTR- TürkiyeTM- TurkmenistanTC- Turks and Caicos IslandsTV- TuvaluUG- UgandaUA- UkraineAE- United Arab EmiratesGB- United KingdomUM- United States Minor Outlying IslandsUS- United States of AmericaUY- UruguayUZ- UzbekistanVU- VanuatuVA- Vatican CityVE- VenezuelaVN- VietnamVG- Virgin Islands (British)VI- Virgin Islands (U.S.)WF- Wallis and FutunaEH- Western SaharaYE- YemenZM- ZambiaZW- Zimbabwe
string
created_at
required
string format: date-time
created_by
required
string format: uuid
current_membership
required
string format: uuid
deactivated_comment
string
deactivated_reason
0- I don’t use the solution anymore1- The tool setup is too complicated2- Doesn’t meet my expectations3- I never have downtime, no need monitoring :)4- Another solution suits me better5- One essential feature is missing6- Other
integer
deactivated_reason_text
required
string
events_start_at
required
string format: date-time
id
required
string format: uuid
modified_at
required
string format: date-time
modified_by
required
string format: uuid
name
required
string
number_logs_bytes
required
integer
number_monitors
required
integer
number_of_each_status
required
Array<object>
object
key
additional properties
integer
number_ok_monitors
required
integer
number_ok_services
required
integer
number_recordingrules
required
integer
number_servers_online
required
integer
number_servers
required
integer
number_services
required
integer
number_silenced
required
integer
parent
string format: uuid
phone_number
string
registration_key
required
string
sandbox_is_active
boolean
security_contact
Security contact email
string format: email
zip_code
string
Responses
Section titled “Responses”Media typeapplication/json
A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
object
address_line_1
string
address_line_2
string
admin_contact
Admin contact email
string format: email
agent_type_display
required
object
key
additional properties
boolean
billing_contact
Billing contact email
string format: email
city
string
account_config
required
string format: uuid
country_name
required
string
country
required
AF- AfghanistanAX- Åland IslandsAL- AlbaniaDZ- AlgeriaAS- American SamoaAD- AndorraAO- AngolaAI- AnguillaAQ- AntarcticaAG- Antigua and BarbudaAR- ArgentinaAM- ArmeniaAW- ArubaAU- AustraliaAT- AustriaAZ- AzerbaijanBS- Bahamas (The)BH- BahrainBD- BangladeshBB- BarbadosBY- BelarusBE- BelgiumBZ- BelizeBJ- BeninBM- BermudaBT- BhutanBO- BoliviaBQ- Bonaire, Sint Eustatius and SabaBA- Bosnia and HerzegovinaBW- BotswanaBV- Bouvet IslandBR- BrazilIO- British Indian Ocean TerritoryBN- BruneiBG- BulgariaBF- Burkina FasoBI- BurundiCV- Cabo VerdeKH- CambodiaCM- CameroonCA- CanadaKY- Cayman IslandsCF- Central African RepublicTD- ChadCL- ChileCN- ChinaCX- Christmas IslandCC- Cocos (Keeling) IslandsCO- ColombiaKM- ComorosCG- CongoCK- Cook IslandsCR- Costa RicaCI- Côte d’IvoireHR- CroatiaCU- CubaCW- CuraçaoCY- CyprusCZ- CzechiaCD- Democratic Republic of the CongoDK- DenmarkDJ- DjiboutiDM- DominicaDO- Dominican RepublicEC- EcuadorEG- EgyptSV- El SalvadorGQ- Equatorial GuineaER- EritreaEE- EstoniaSZ- EswatiniET- EthiopiaFK- Falkland Islands (Malvinas)FO- Faroe IslandsFJ- FijiFI- FinlandFR- FranceGF- French GuianaPF- French PolynesiaTF- French Southern TerritoriesGA- GabonGM- GambiaGE- GeorgiaDE- GermanyGH- GhanaGI- GibraltarGR- GreeceGL- GreenlandGD- GrenadaGP- GuadeloupeGU- GuamGT- GuatemalaGG- GuernseyGN- GuineaGW- Guinea-BissauGY- GuyanaHT- HaitiHM- Heard Island and McDonald IslandsHN- HondurasHK- Hong KongHU- HungaryIS- IcelandIN- IndiaID- IndonesiaIR- IranIQ- IraqIE- IrelandIM- Isle of ManIL- IsraelIT- ItalyJM- JamaicaJP- JapanJE- JerseyJO- JordanKZ- KazakhstanKE- KenyaKI- KiribatiKW- KuwaitKG- KyrgyzstanLA- LaosLV- LatviaLB- LebanonLS- LesothoLR- LiberiaLY- LibyaLI- LiechtensteinLT- LithuaniaLU- LuxembourgMO- MacaoMG- MadagascarMW- MalawiMY- MalaysiaMV- MaldivesML- MaliMT- MaltaMH- Marshall IslandsMQ- MartiniqueMR- MauritaniaMU- MauritiusYT- MayotteMX- MexicoFM- MicronesiaMD- MoldovaMC- MonacoMN- MongoliaME- MontenegroMS- MontserratMA- MoroccoMZ- MozambiqueMM- MyanmarNA- NamibiaNR- NauruNP- NepalNL- NetherlandsNC- New CaledoniaNZ- New ZealandNI- NicaraguaNE- NigerNG- NigeriaNU- NiueNF- Norfolk IslandKP- North KoreaMK- North MacedoniaMP- Northern Mariana IslandsNO- NorwayOM- OmanPK- PakistanPW- PalauPS- PalestinePA- PanamaPG- Papua New GuineaPY- ParaguayPE- PeruPH- PhilippinesPN- PitcairnPL- PolandPT- PortugalPR- Puerto RicoQA- QatarRE- RéunionRO- RomaniaRU- RussiaRW- RwandaBL- Saint BarthélemySH- Saint HelenaKN- Saint Kitts and NevisLC- Saint LuciaMF- Saint Martin (French part)PM- Saint Pierre and MiquelonVC- Saint Vincent and the GrenadinesWS- SamoaSM- San MarinoST- Sao Tome and PrincipeSA- Saudi ArabiaSN- SenegalRS- SerbiaSC- SeychellesSL- Sierra LeoneSG- SingaporeSX- Sint Maarten (Dutch part)SK- SlovakiaSI- SloveniaSB- Solomon IslandsSO- SomaliaZA- South AfricaGS- South GeorgiaKR- South KoreaSS- South SudanES- SpainLK- Sri LankaSD- SudanSR- SurinameSJ- Svalbard and Jan MayenSE- SwedenCH- SwitzerlandSY- SyriaTW- TaiwanTJ- TajikistanTZ- TanzaniaTH- ThailandTL- Timor-LesteTG- TogoTK- TokelauTO- TongaTT- Trinidad and TobagoTN- TunisiaTR- TürkiyeTM- TurkmenistanTC- Turks and Caicos IslandsTV- TuvaluUG- UgandaUA- UkraineAE- United Arab EmiratesGB- United KingdomUM- United States Minor Outlying IslandsUS- United States of AmericaUY- UruguayUZ- UzbekistanVU- VanuatuVA- Vatican CityVE- VenezuelaVN- VietnamVG- Virgin Islands (British)VI- Virgin Islands (U.S.)WF- Wallis and FutunaEH- Western SaharaYE- YemenZM- ZambiaZW- Zimbabwe
string
created_at
required
string format: date-time
created_by
required
string format: uuid
current_membership
required
string format: uuid
deactivated_comment
string
deactivated_reason
0- I don’t use the solution anymore1- The tool setup is too complicated2- Doesn’t meet my expectations3- I never have downtime, no need monitoring :)4- Another solution suits me better5- One essential feature is missing6- Other
integer
deactivated_reason_text
required
string
events_start_at
required
string format: date-time
id
required
string format: uuid
modified_at
required
string format: date-time
modified_by
required
string format: uuid
name
required
string
number_logs_bytes
required
integer
number_monitors
required
integer
number_of_each_status
required
Array<object>
object
key
additional properties
integer
number_ok_monitors
required
integer
number_ok_services
required
integer
number_recordingrules
required
integer
number_servers_online
required
integer
number_servers
required
integer
number_services
required
integer
number_silenced
required
integer
parent
string format: uuid
phone_number
string
registration_key
required
string
sandbox_is_active
boolean
security_contact
Security contact email
string format: email
zip_code
string
Example
{ "country": "AF", "deactivated_reason": 0}