PUT /administrator-ms/security-profiles/v1/{securityProfileId}
Update the details of a security profile.
-
Perform the authentication and login to the API. For more information, see POST /auth/login.
-
Use PUT /administrator-ms/security-profiles/v1/{securityProfileId} to send an HTTP PUT request.
-
Click Try it Out option.
-
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.
-
Under Request body select application/json from drop-down list.
-
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
-
-
Click on Execute to generate the request URL.
Request URL:
The following table lists the expected responses.https://<IP_Address>:<PORT>/administrator-ms/security-profiles/v1/1Response 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