Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Post /winbind/config

Post /winbind/config

Description

Creates a Winbind configuration object.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

POST https://10.106.94.152:8443/api/v2/winbind/config

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"name": "string",

"workgroup": "string",

"localNetbios": "string",

"localNetbiosSecondary": "string",

"security": "string",

"realm": "string",

"logLevel": 0,

"passwordServer": "string",

"virtual": true,

"joined": true,

"logLevelStr": "string",

"valid": true,

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-02-22T21:37:39.916Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-02-22T21:33:55.083Z",

"dbid": 0,

"name": "string",

"workgroup": "string",

"localNetbios": "string",

"localNetbiosSecondary": "string",

"security": "string",

"realm": "string",

"logLevel": 0,

"passwordServer": "string",

"virtual": true,

"joined": true,

"logLevelStr": "string",

"valid": true,

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-02-22T21:33:55.083Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

]

}

Post /winbind/config

Post /winbind/config

Description

Creates a Winbind configuration object.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

POST https://10.106.94.152:8443/api/v2/winbind/config

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"name": "string",

"workgroup": "string",

"localNetbios": "string",

"localNetbiosSecondary": "string",

"security": "string",

"realm": "string",

"logLevel": 0,

"passwordServer": "string",

"virtual": true,

"joined": true,

"logLevelStr": "string",

"valid": true,

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-02-22T21:37:39.916Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-02-22T21:33:55.083Z",

"dbid": 0,

"name": "string",

"workgroup": "string",

"localNetbios": "string",

"localNetbiosSecondary": "string",

"security": "string",

"realm": "string",

"logLevel": 0,

"passwordServer": "string",

"virtual": true,

"joined": true,

"logLevelStr": "string",

"valid": true,

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-02-22T21:33:55.083Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

]

}