GET /authprofile/{uuid}

GET /authprofile/{uuid}

/authprofile/{uuid}

Request
URI
GET
https://{api_host}/api/authprofile/{uuid}
COPY
Path Parameters
string
uuid
Required

UUID of the object to fetch

Query Parameters
string
name
Optional

object name

string
fields
Optional

List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.

boolean
include_name
Optional

All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.

boolean
skip_default
Optional

Default values are not set.

string
join_subresources
Optional

It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Header Parameters
string
X-Avi-Tenant
Optional

Avi Tenant Header

string
X-Avi-Tenant-UUID
Optional

Avi Tenant Header UUID

string
X-Avi-Version
Required

The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.

string
X-CSRFToken
Optional

Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.


Responses
200

OK

Returns AuthProfile of type(s) application/json
{
    "_last_modified": "string",
    "configpb_attributes": {
        "version": 0
    },
    "description": "string",
    "http": {
        "cache_expiration_time": 0,
        "request_header": "string",
        "require_user_groups": [
            "string"
        ]
    },
    "jwt_profile_ref": "string",
    "ldap": {
        "base_dn": "string",
        "bind_as_administrator": false,
        "email_attribute": "string",
        "full_name_attribute": "string",
        "port": 0,
        "security_mode": "string",
        "server": [
            "string"
        ],
        "settings": {
            "admin_bind_dn": "string",
            "group_filter": "string",
            "group_member_attribute": "string",
            "group_member_is_full_dn": false,
            "group_search_dn": "string",
            "group_search_scope": "string",
            "ignore_referrals": false,
            "password": "string",
            "user_attributes": [
                "string"
            ],
            "user_id_attribute": "string",
            "user_search_dn": "string",
            "user_search_scope": "string"
        },
        "user_bind": {
            "dn_template": "string",
            "token": "string",
            "user_attributes": [
                "string"
            ],
            "user_id_attribute": "string"
        }
    },
    "markers": [
        {
            "key": "string",
            "values": [
                "string"
            ]
        }
    ],
    "name": "string",
    "oauth_profile": {
        "authorization_endpoint": "string",
        "end_session_endpoint": "string",
        "instance_id": "string",
        "introspection_endpoint": "string",
        "issuer": "string",
        "jwks_timeout": 0,
        "jwks_uri": "string",
        "oauth_controller_settings": {
            "client_id": "string",
            "client_secret": "string",
            "oidc_config": {
                "oidc_enable": false,
                "profile": false,
                "userinfo": false
            },
            "scopes": [
                "string"
            ]
        },
        "oauth_profile_type": "string",
        "oauth_provider": "string",
        "oauth_resp_buffer_sz": 0,
        "org_id": "string",
        "pool_ref": "string",
        "redirect_uri": "string",
        "service_id": "string",
        "service_name": "string",
        "token_endpoint": "string",
        "userinfo_endpoint": "string"
    },
    "pa_agent_ref": "string",
    "saml": {
        "idp": {
            "meta_data_download_interval": 0,
            "metadata": "string",
            "metadata_url": "string",
            "periodic_download": false
        },
        "sp": {
            "fqdn": "string",
            "org_display_name": "string",
            "org_name": "string",
            "org_url": "string",
            "saml_entity_type": "string",
            "sp_nodes": [
                {
                    "entity_id": "string",
                    "name": "string",
                    "signing_ssl_key_and_certificate_ref": "string",
                    "single_signon_url": "string"
                }
            ],
            "tech_contact_email": "string",
            "tech_contact_name": "string"
        }
    },
    "tacacs_plus": {
        "authorization_attrs": [
            {
                "mandatory": false,
                "name": "string",
                "value": "string"
            }
        ],
        "password": "string",
        "port": 0,
        "server": [
            "string"
        ],
        "service": "string"
    },
    "tenant_ref": "string",
    "type": "string",
    "url": "string",
    "uuid": "string"
}
string
_last_modified
Optional

UNIX time since epoch in microseconds. Units(MICROSECONDS).

object
configpb_attributes
Optional

configpb_attributes

string
description
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

object
http
Optional

http

string
jwt_profile_ref
Optional

JWTServerProfile to be used for authentication. It is a reference to an object of type JWTServerProfile. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

object
ldap
Optional

ldap

array of object
markers
Optional

List of labels to be used for granular RBAC. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.

string
name
Required

Name of the Auth Profile. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

object
oauth_profile
Optional

oauth_profile

string
pa_agent_ref
Optional

PingAccessAgent uuid. It is a reference to an object of type PingAccessAgent. Field deprecated in 30.2.1. Field introduced in 18.2.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

object
saml
Optional

saml

object
tacacs_plus
Optional

tacacs_plus

string
tenant_ref
Optional

It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
type
Required

Type of the Auth Profile. Enum options - AUTH_PROFILE_LDAP, AUTH_PROFILE_TACACS_PLUS, AUTH_PROFILE_SAML, AUTH_PROFILE_PINGACCESS, AUTH_PROFILE_JWT, AUTH_PROFILE_OAUTH. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- AUTH_PROFILE_LDAP,AUTH_PROFILE_TACACS_PLUS,AUTH_PROFILE_SAML,AUTH_PROFILE_JWT,AUTH_PROFILE_OAUTH), Basic edition(Allowed values- AUTH_PROFILE_LDAP,AUTH_PROFILE_TACACS_PLUS,AUTH_PROFILE_SAML,AUTH_PROFILE_JWT,AUTH_PROFILE_OAUTH), Enterprise with Cloud Services edition.

string
url
Optional

url

string
uuid
Optional

UUID of the Auth Profile. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.


401

log in failed

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/authprofile/{uuid}