post https://example.com/ServerAgent/ServerAgent/AddEnrollmentCode
Generates a new enrollment code for use when joining multiple computers to the Infrastructure Services, without the need to provide a user name and password.
Response
API-Result
success boolean
Indicates if the request was successful.
Result Object
Contains the new enrollment code.
Result.EnrollmentCode String
The newly generated enrolment code.
Message string
Error message text on failure, may be null.
ErrorID string
Unique support identifier for this occurrence of an error.
success boolean
Indicates API success or failure.