Named user group securities

Follow

You can associate named user groups and data security rules.

Get named user group security

  • GET /data_security_subscriptions will return all named user group securities.
[
  {
    "id": 605816632,
    "named_user_group_id": 345,
    "data_security_rule_id":343,
    "updated_at": "2012-03-23T13:55:43-05:00",
    "created_at": "2012-03-23T13:55:43-05:00"
  },
  {
    "id": 605826632,
    "named_user_group_id": 342,
    "data_security_rule_id":213,
    "updated_at": "2012-03-23T13:55:43-05:00",
    "created_at": "2012-03-23T13:55:43-05:00"
  }
]

Get named user group security

  • GET /data_security_subscriptions/1 will return the specified named user group security.
{
  "id": 605816632,
  "named_user_group_id": 123,
  "data_security_rule_id": 345,
  "updated_at": "2012-03-23T13:55:43-05:00",
  "created_at": "2012-03-23T13:55:43-05:00"
}

Create named user group security

  • POST /data_security_subscriptions will create a new named user group security from the parameters passed.
{
  "named_user_group_id": 123,
  "data_security_rule_id": 435
}

This will return 201 Created, with the current JSON representation of the named user group security if the creation was a success. See the Get named user group security endpoint for more info.

Update named user group security

  • PUT /data_security_subscriptions/1 will update the named user group security from the parameters passed.
{
  "id": 605816632,
  "named_user_group_id": 123,
  "data_security_rule_id": 435
}

Delete dashboard subscription

  • DELETE /data_security_subscriptions/1 will delete the named user group security specified and return 204 No Content if that was successful.
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk