claim-all-not-claimed-gateways

Description

Claim all not claimed Small Office Gateways associated with the provided account.

Request URL

POST

https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/claim-all-not-claimed-smbgateways

Request Headers

Parameter Name

Type

Description

Content-Type

application/json

Send JSON object to use the API Web Services

X-chkp-sid

string token

Session unique identifier as the response to the login request

Request Body

Parameter Name

Status

Type

Description

account-id

Mandatory

int

The User Center account to which Security Gateways and templates belong

template-id

Mandatory

int

The template's unique identifier

Response

On Success, HTTP Return code: 200

Parameter Name

Type

Description

items

List: obejct

List of claimed gateways

message

string

Operation status

Claimed gateway item

Parameter Name

Type

Description

mac

string

Unique Media Access Control address for the Security Gateway

message

string

Claim operation status for the gateway

On Failure, HTTP Return code: 400, 401, 500

Parameter Name

Type

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request Example

 {
   "account-id": 8044839
   "template-id" 3455358
 }

Response Example

{

"items": [

{

"mac": "00:1C:7F:78:72:76",

"message": "success"

},

{

"mac": "00:1C:7F:78:D3:4E",

"message": "success"

}

],

"message": "success"

}