Skip to main content
A newer release of this product is available.

Security authentication duo profiles owner.uuid endpoint overview

Contributors

Overview

This API configures the Duo profile for an SVM. Specify the owner UUID. The owner UUID corresponds to the UUID of the SVM containing the Duo profile and can be obtained from the response body of the GET request performed on the API "/api/svm/svms".

Examples

Retrieving the specific configured Duo profile of the cluster or SVM

# The API:
GET "/api/security/authentication/duo/profiles/{owner.uuid}"

# The call:
curl -k https://<mgmt-ip>/api/security/authentication/duo/profiles/f810005a-d908-11ed-a6e6-0050568e8ef2

# the response:
{
"owner": {
"uuid": "f810005a-d908-11ed-a6e6-0050568e8ef2",
"name": "cluster-1"
},
"integration_key": "AAAA1A11A1AAA1AAA111",
"fingerprint": "xxxxxxxxxc8f58b1d52317e1212e9f067a958c387e5e2axxxxxxxxxxxxxxxxxx",
"api_host": "api-******.duosecurity.com",
"status": "Ok",
"is_enabled": true,
"auto_push": true,
"push_info": true,
"fail_mode": "safe",
"max_prompts": 1,
"comment": "Duo profile for Cserver",
}

Modifying the Duo profile

# The API:
PATCH "/api/security/authentication/duo/profiles/{owner.uuid}"

# The call:
curl -k "https://<mgmt-ip>/api/security/authentication/duo/profiles/f810005a-d908-11ed-a6e6-0050568e8ef2" --request PATCH --data "{  \"comment\": \"Testing\",  \"auto_push\": false}"

# the response:
{}

Deleting the Duo profile

# The API:
DELETE "/api/security/authentication/duo/profiles/{owner.uuid}"

# The call:
curl -k https://<mgmt-ip>/api/security/authentication/duo/profiles/f810005a-d908-11ed-a6e6-0050568e8ef2 --request DELETE

# the response:
{}