Settings - Standard OData APIs - Patch Settings Type

Updates a settings type.

PATCH https://<org-id>.<crm-region>.dynamics.com/api/data/v9.0/m365_settingstypes({settingsTypeId})

URI Parameters

Name In Required Type Description
settingsTypeId
path True

string

Id of the settings type.

Request Header

Name Required Type Description
Authorization True

string

The Dataverse JWT authentication token.

Request Body

Name Type Description
m365_name

string

The unique settings type name.

m365_regexvalidation

string

(Optional) The regex validation pattern. Enforces settings values to match the pattern on create or update operations.

Responses

Name Type Description
204 No Content

No Content. Updated successfully.

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

Security

Authorization

The Dataverse JWT authentication token.

Type: apiKey
In: header

Definitions

Name Description
AddUpdateSettingsTypeModel
ErrorModel
ErrorResponse

AddUpdateSettingsTypeModel

Name Type Description
m365_name

string

The unique settings type name.

m365_regexvalidation

string

(Optional) The regex validation pattern. Enforces settings values to match the pattern on create or update operations.

ErrorModel

Name Type Description
code

string

A unique identifier for the error code.

message

string

The error description details.

ErrorResponse

Name Type Description
error

ErrorModel

The error details object.