Update Control Table entry partially

Prev Next
Patch
/sn_control/{id}/

Operation is used to update specific fields in an existing Control Table entry.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Control Table entry to update

Body parameters

Control Table entry attributes and values to be updated

object

SnControl object. Represents KeyAQUA control table. Flat version for patch and post methods

ClassId
integer

Reference to SnConstant with related_name='class_set'

def_1
string

Definition 1

Max length30
def_2
string

Definition 2

Max length30
def_3
string

Definition 3

Max length30
feature
string Required

Feature identifier

Max length20
net_type
string

Network type

Max length20
sortby
integer

Sort order value

type
string

Type value (stored as 'class' in database)

Max length20
Responses
200

Object was updated successfully

object

SnControl object. Represents KeyAQUA control table. Flat version for patch and post methods

ClassId
integer

Reference to SnConstant with related_name='class_set'

def_1
string

Definition 1

Max length30
def_2
string

Definition 2

Max length30
def_3
string

Definition 3

Max length30
feature
string

Feature identifier

Max length20
id
integer

Primary key

net_type
string

Network type

Max length20
sortby
integer

Sort order value

type
string

Type value (stored as 'class' in database)

Max length20
401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error

404

Object was not found

{
  "details": "Not found."
}
object
details
string

Detailed description of error