incident_io_client.api.custom_field_options_v1.custom_field_options_v1_update
asyncio
async
asyncio(
id: str,
*,
client: Union[AuthenticatedClient, Client],
body: CustomFieldOptionsV1UpdateRequestBody
) -> Optional[CustomFieldOptionsV1UpdateResponseBody]
Update Custom Field Options V1
Update a custom field option
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
body |
CustomFieldOptionsV1UpdateRequestBody
|
Example: {'sort_key': 10, 'value': 'Product'}. |
required |
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Optional[CustomFieldOptionsV1UpdateResponseBody]
|
CustomFieldOptionsV1UpdateResponseBody |
Source code in incident_io_client/api/custom_field_options_v1/custom_field_options_v1_update.py
asyncio_detailed
async
asyncio_detailed(
id: str,
*,
client: Union[AuthenticatedClient, Client],
body: CustomFieldOptionsV1UpdateRequestBody
) -> Response[CustomFieldOptionsV1UpdateResponseBody]
Update Custom Field Options V1
Update a custom field option
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
body |
CustomFieldOptionsV1UpdateRequestBody
|
Example: {'sort_key': 10, 'value': 'Product'}. |
required |
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Response[CustomFieldOptionsV1UpdateResponseBody]
|
Response[CustomFieldOptionsV1UpdateResponseBody] |
Source code in incident_io_client/api/custom_field_options_v1/custom_field_options_v1_update.py
sync
sync(
id: str,
*,
client: Union[AuthenticatedClient, Client],
body: CustomFieldOptionsV1UpdateRequestBody
) -> Optional[CustomFieldOptionsV1UpdateResponseBody]
Update Custom Field Options V1
Update a custom field option
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
body |
CustomFieldOptionsV1UpdateRequestBody
|
Example: {'sort_key': 10, 'value': 'Product'}. |
required |
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Optional[CustomFieldOptionsV1UpdateResponseBody]
|
CustomFieldOptionsV1UpdateResponseBody |
Source code in incident_io_client/api/custom_field_options_v1/custom_field_options_v1_update.py
sync_detailed
sync_detailed(
id: str,
*,
client: Union[AuthenticatedClient, Client],
body: CustomFieldOptionsV1UpdateRequestBody
) -> Response[CustomFieldOptionsV1UpdateResponseBody]
Update Custom Field Options V1
Update a custom field option
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
body |
CustomFieldOptionsV1UpdateRequestBody
|
Example: {'sort_key': 10, 'value': 'Product'}. |
required |
Raises:
Type | Description |
---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
Type | Description |
---|---|
Response[CustomFieldOptionsV1UpdateResponseBody]
|
Response[CustomFieldOptionsV1UpdateResponseBody] |