Skip to main content

Create an LDAP server profile

POST 

https://api.strata.paloaltonetworks.com/config/identity/v1/ldap-server-profiles

Create a new LDAP server profile.

Request

Body

Created

    oneOf
    folderstringrequired

    The folder in which the resource is defined

    Possible values: <= 64 characters, Value must match regular expression ^[a-zA-Z\d-_\. ]+$

    Example: My Folder

Responses

Created

Authorization: http

name: scmTokentype: httpdescription: Strata Cloud Manager APIs authenticate client requests using the 
OAuth 2.0 Client Credentials flow.  Please use the `client_id`, 
`client_secret` values associated with an IAM service account along 
with a scope value of `tsg_id:XXXXXXXXXX`, where `XXXXXXXXXX` is the 
Tenant Service Group (TSG) ID.  The resulting JWT access token should 
be attached to all API calls as a `Bearer` token in the `Authorization` 
header (ex. `Authorization: Bearer tokenstring`).
scheme: bearerbearerFormat: JWT
curl -L 'https://api.strata.paloaltonetworks.com/config/identity/v1/ldap-server-profiles' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"name": "string",
"base": "string",
"bind_dn": "string",
"bind_password": "string",
"bind_timelimit": "string",
"retry_interval": 0,
"server": [
{
"port": 0,
"name": "string",
"address": "string"
}
],
"ssl": true,
"verify_server_certificate": true,
"timelimit": 0,
"folder": "My Folder"
}'
Request Collapse all
Base URL
https://api.strata.paloaltonetworks.com/config/identity/v1
Auth
Body
{
  "name": "string",
  "base": "string",
  "bind_dn": "string",
  "bind_password": "string",
  "bind_timelimit": "string",
  "retry_interval": 0,
  "server": [
    {
      "port": 0,
      "name": "string",
      "address": "string"
    }
  ],
  "ssl": true,
  "verify_server_certificate": true,
  "timelimit": 0,
  "folder": "My Folder"
}
ResponseClear

Click the Send API Request button above and see the response here!