PUT /administrator-ms/security-profiles/v1/{securityProfileId}

Update the details of a security profile.

To modify the details of a security profile:
  1. Perform the authentication and login to the API. For more information, see POST /auth/login.

  2. Use PUT /administrator-ms/security-profiles/v1/{securityProfileId} to send an HTTP PUT request.

  3. Click Try it Out option.

  4. Set the parameters as listed in the following table.

    Parameter Name

    Sample Value

    Supported Value

    Description

    securityProfileId

    securityProfileId

    integer 32

    Indicates the security profile ID.
    Note:

    This parameter is mandatory.

  5. Under Request body select application/json from drop-down list.

  6. Enter the request body parameter values as follows:
    {
      "securityProfileId": 0,
      "securityProfileName": "string",
      "description": "string",
      "accessPrivileges": [
        {
          "privilegeId": 0,
          "privilegeName": "string",
          "description": "string"
        }
      ]
    }
    The following table describes the request body parameters. <TBD: New>

    Parameter Name

    Sample Value

    Description

    >securityProfileId

    Integer (int32)

    -

    >securityProfileName

    String

    -

    >description

    String

    -

    >accessPrivileges

    >>privilegeId

    Integer (int32)

    -

    >>privilegeName

    String

    -

    >>description

    String

    -

  7. Click on Execute to generate the request URL.

    Request URL:
    https://<IP_Address>:<PORT>/administrator-ms/security-profiles/v1/1
    The following table lists the expected responses.

    Response Type

    Value

    Schema

    Valid Response

    200 OK

    For 200 OK,
    {
      "securityProfileId": 0,
      "securityProfileName": "string",
      "description": "string",
      "accessPrivileges": [
        {
          "privilegeId": 0,
          "privilegeName": "string",
          "description": "string"
        }
      ]
    }

    Error Response

    400 Bad Request

    Not applicable

    401 Authentication Failure

    Not applicable

    403 Forbidden

    Not applicable

    404 Not found

    Not applicable