Fields
The API response also includes
domain and credentials, the objects that domainRef and credentialsRef point to.
Constraints
nameis required and must be 1 to 60 characters.usernameis required and can’t contain spaces. In YAML it must be 4 to 60 characters. In pgdata it must be unique across Agents.- Quote numeric usernames in YAML (
"1001") so they parse as strings. - An Agent with no
credentialsRefis challenged but can’t authenticate, because Connect computes the digest response from the Agent’s Credentials. - When an Agent reaches
maxContacts, Connect answers new REGISTER requests with403 Forbidden. Refreshing an existing contact still works.
YAML example
The following file defines one Agent in the Domaindomain-01.
rctl equivalent
Run the interactive create command and answer the prompts.rctl agents for the prompts and the other actions.