The active portal account must be licensed with the ArcGIS Knowledge user type extension to use Knowledge Graph Server services.
The add operation is available to modify the domains resource associated with a knowledge graph service's data model. You can add a domain that can later be used to define the content that can be provided in a property for an entity type or a relationship type in the data model.
The user must have sufficient privileges to edit content and editing must be enabled for the knowledge graph service for this operation to be successful. Editing can be enabled for a knowledge graph service in the same manner that you enable it for a hosted feature layer. The knowledge graph service's strict property must not be set to true, which indicates the data model cannot be modified.
Requests and responses
This operation can only be performed by sending a PBF-formatted request and receiving a PBF-formatted response. Details of the request and response parameters are provided in the appropriate .proto files.
Create a PBF-formatted request to perform this operation based on the AddDomainRequest.proto file.
Create a PBF-formatted response to get feedback from the operation based on the AddDomainResponse.proto file.