MENU
      createInstanceTags

        createInstanceTags


        Article summary

        Overview

        Creates instance tags.

        Request

        Request parameters

        ParameterRequiredTypeLimitationsDescription
        instanceNoList.NYList<String>Duplicates not allowed.List of server instance numbers to create instance tags for
        Tags can be set only for servers.
        Get available values by using the getServerInstanceList action.
        Example) instanceNoList.1=1088217
        instanceTagList.N.tagKeyYStringTag key to create
        Example) instanceTagList.1.tagKey=tag1
        instanceTagList.N.tagValueYStringTag value to create
        Example) instanceTagList.1.tagValue=dolphins

        Response

        Response body

        Examples

        Request example

        GET {SERVER_API_URL}/createInstanceTags?instanceNoList.1=1088217
        &instanceTagList.1.tagKey=tag1
        &instanceTagList.1.tagValue=dolphins
        HTTP

        Response example

        <createInstanceTagsResponse>
          <requestId>7d7bf862-31a4-4b7e-b3ca-d8128f3936f3</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <instanceTagList>
            <instanceTag>
              <instanceNo>1088217</instanceNo>
              <instanceType>
                <code>SVR</code>
                <codeName>Server</codeName>
              </instanceType>
              <tagKey>tag1</tagKey>
              <tagValue>dolphins</tagValue>
            </instanceTag>
          </instanceTagList>
        </createInstanceTagsResponse>
        XML

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.