Create hostnames from an authorization group.

22Aug2011

Create hostnames from an authorization group.

Request URL

/autorisation_group/$groupname/hostname/create [POST]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
groupname (STRING)The name of the group, which shared the hostname(s).Required-
hostname[] (STRING)The hostname that the group should be linked. In case of multiple hostnames you can using the '[]' notationRequired-
mediamosa_version (MEDIAMOSA_VERSION)Provide the version to get the REST call returned in the format of the specified MediaMosa version. Keep empty or skip to retrieve in current (latest) version. Provide '2' to retrieve the REST call in 2.x format. Or be more specific by providing up to 3 digits; '2.3.0'. This setting will override any setting used by client application or the default setting in MediaMosa.Optional-

Example Request

autorisation_group/test2.group/hostname/create

hostname[] = "hostname.test"

Example Response

<items>
  <item id="1">
    <hostname>hostname.test</hostname>
    <result>success</result>
    <result_id>601</result_id>
    <result_description></result_description>
  </item>
</items>