メインコンテンツへスキップ
PATCH
Update a custom field for an organization

承認

Authorization
string
header
必須

For authenticated requests, set the Authorization: Bearer your_api_key parameter in the header.
You can create and manage your API Keys by visiting the API Keys tab in the Settings page of your organization in Assist SaaS Manager

パスパラメータ

organizationId
number
必須
customFieldId
number
必須

ボディ

application/json
visibleForType
enum<string>[]
利用可能なオプション:
pc,
phone,
other
例:

"phone"

configuration
object | null

Update the dropdown configuration (values can be added, removed, reordered, or modified)

confirmValueDeletion
boolean
デフォルト:false

Acknowledge that removing dropdown options clears that field's value on every device still using them. Without it, an update that would clear values is rejected with the per-option device counts.

attributeName
string
例:

"foo bar"

attributeCode
string

Unique identifier for the custom field. Must contain only lowercase letters, numbers, and underscores. Cannot be changed to a value that already exists in the organization.

例:

"device_id"

レスポンス

id
number
必須
read-only
例:

1

uniqueName
string
必須
read-only
例:

"custom_text_field"

name
string
必須
read-only
例:

"Foo bar"

kind
enum<string>
必須

The type of field (e.g., text, number, date, dropdown)

利用可能なオプション:
text,
date,
number,
dropdown,
link,
textarea,
email
例:

"dropdown"

configuration
object | null
必須
visibleForType
enum<string>[]
必須
利用可能なオプション:
pc,
phone,
other
例:

"phone"

required
boolean
必須
read-only

This field will be always false in R1

例:

true