Skip to main content

Security authentication duo groups endpoint overview

Contributors

Overview

This API configures the group to be included in Duo authentication.

Examples

Creating a Duo group

Specify the group name and other necessary information in the body of the POST request. The owner.uuid or owner.name are not required for a cluster-scoped account.

# The API:
POST "/api/security/authentication/duo/groups"

# The call:
curl -k https://<mgmt-ip>/api/security/authentication/duo/groups --request POST --data '{"name": "test",  "comment": "test post"}'

# The response:
{
}

Creating a Duo group for SVM-scoped account

For an SVM-scoped account, specify either the SVM name as the owner.name or the SVM UUID as the owner.uuid along with other parameters for the group. These parameters indicate the SVM that contains the user group and can be obtained from the response body of the GET request performed on the API "/api/svm/svms".

# The API:
POST "/api/security/authentication/duo/groups"

# The call:
curl -k https://<mgmt-ip>/api/security/authentication/duo/groups --request POST --data '{"name": "test",  "comment": "test post", "owner.name":"vs0" }'

# The response:
{
}

Retrieving the configured Duo groups

Retrieves the Duo groups associated with the owners or filtered list (for a specific SVM and so on).