Skip to content

UpdateContractorAccount

PUT
/contractor_account/{accountID}
curl --request PUT \
--url https://api.huddlesurety.com/contractor_account/example \
--header 'Content-Type: application/json' \
--data '{ "address": "example", "isPrimary": true, "name": "example", "notes": [ "example" ], "phone": "example" }'
accountID
required
string

Contractor Account ID

Body

Media typeapplication/json

Body

object
address
required
string
isPrimary
required
boolean
name
required
string
notes
required
Array<string>
phone
required
string

Example generated

{
"address": "example",
"isPrimary": true,
"name": "example",
"notes": [
"example"
],
"phone": "example"
}

OK

Media typeapplication/json
object
address
required
string
id
required
string
isPrimary
required
boolean
name
required
string
notes
required
Array<string>
orgID
required
string
phone
required
string

Example generated

{
"address": "example",
"id": "example",
"isPrimary": true,
"name": "example",
"notes": [
"example"
],
"orgID": "example",
"phone": "example"
}