Update server security

Updates the list of groups assigned to a secured server instance.

Data source security enables you to restrict access to a secured resource. If a server instance is secured, the owner of that server instance can grant or revoke access to that server instance on a group-by-group basis.

The request package defines an array of operations that grant or revoke access to a secured server.

[
  {
    "operation": "Add",
    "targetProperty": "groupId",
    "value": "8e676a8f-63ed-4cc0-8678-9a20ce41a80a"
  },
  {
    "operation": "Remove",
    "targetProperty": "groupId",
    "value": "4x679a8a-74et-4cc0-8678-7g90ee96d00f"
  }
]

🍐

Secured Data Resource Permissions

This operation can only be performed the owner of a secured server instance. To learn more, see Administer Server and Database Security.

Path Params
string
required

Name of SQL Server instance.

Body Params
Responses
204

No content.

400

Bad Request. Some of the provided parameters were not valid.

404

Not found. The entity you are trying to interact with does not
exist.

500

Internal Server Error. If the problem persists you may want to
contact the Administrator.

Language
URL
LoadingLoading…