Update Partner User

Update Partner User

Update partner user

Request
URI
PATCH
https://vcportal.velocloud.net//api/sase-licensing/v1/partnerUsers/{id}
COPY
Path Parameters
integer
id
Required

Partner user id

Query Parameters
string
partnerLogicalId
Required

Partner logical ID


Request Body
updatePartnerUserBody of type(s) application/json
Required
{
    "username": "[email protected]",
    "domain": "string",
    "firstName": "string",
    "lastName": "string",
    "officePhone": "123456789",
    "mobilePhone": "123456789",
    "email": "[email protected]",
    "isActive": 1,
    "disableSecondFactor": 1,
    "isNative": 1,
    "isLocked": 1,
    "roleId": 1019,
    "password": "password"
}
string As email As email
username
Optional

username

string
domain
Optional

domain

string
firstName
Optional

firstName

string
lastName
Optional

lastName

string As ^\+?[0-9]*$
officePhone
Optional

officePhone

string As ^\+?[0-9]*$
mobilePhone
Optional

mobilePhone

string As email As email
email
Optional

email

number As float As float
isActive
Optional

isActive

Possible values are : 1, 0,
number As float As float
disableSecondFactor
Optional

disableSecondFactor

Possible values are : 1, 0,
number As float As float
isNative
Optional

isNative

Possible values are : 1, 0,
number As float As float
isLocked
Optional

isLocked

Possible values are : 1, 0,
integer
roleId
Optional

roleId

Possible values are : 1019, 1020,
string
password
Optional

NOTE: Backslash isn't supported

Responses
200

Update partner user

Returns createPartnerUserResponse of type(s) application/json
{
    "userType": "string",
    "username": "[email protected]",
    "domain": "string",
    "firstName": "string",
    "lastName": "string",
    "officePhone": "123456789",
    "mobilePhone": "123456789",
    "email": "[email protected]",
    "isActive": 1,
    "disableSecondFactor": 1,
    "id": 100,
    "lastLogin": "2020-07-18T15:48:18.000Z",
    "created": "2020-07-18T15:48:18.000Z",
    "modified": "2020-07-18T15:48:18.000Z",
    "passwordModified": "2020-07-18T15:48:18.000Z",
    "roleId": 100,
    "roleName": "string",
    "isNative": 1,
    "isLocked": 1
}
string
userType
Required

userType

string As email As email
username
Required

username

string
domain
Required

domain

string
firstName
Required

firstName

string
lastName
Required

lastName

string As ^\+?[0-9]*$
officePhone
Required

officePhone

string As ^\+?[0-9]*$
mobilePhone
Required

mobilePhone

string As email As email
email
Required

email

number As float As float
isActive
Required

isActive

Possible values are : 1, 0,
number As float As float
disableSecondFactor
Required

disableSecondFactor

Possible values are : 1, 0,
integer
id
Required

id

string As date-time As date-time
lastLogin
Required

lastLogin

string As date-time As date-time
created
Required

created

string As date-time As date-time
modified
Required

modified

string As date-time As date-time
passwordModified
Required

passwordModified

integer
roleId
Required

roleId

string
roleName
Required

roleName

number As float As float
isNative
Required

isNative

Possible values are : 1, 0,
number As float As float
isLocked
Required

isLocked

Possible values are : 1, 0,

400

invalid input

Returns httpResponseError of type(s) application/json
{
    "code": "string",
    "errors": [
        {
            "message": "error",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, DUPLICATE_ENTITY, VCO_API_ERROR, VCO_API_DUPLICATE_ENTERPRISE, VCO_API_NOT_FOUND, VCO_INVALID_CREDENTIALS, PONCHO_API_ERROR,
array of object
errors
Required

errors


500

server internal error

Returns httpResponseError of type(s) application/json
{
    "code": "string",
    "errors": [
        {
            "message": "error",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, DUPLICATE_ENTITY, VCO_API_ERROR, VCO_API_DUPLICATE_ENTERPRISE, VCO_API_NOT_FOUND, VCO_INVALID_CREDENTIALS, PONCHO_API_ERROR,
array of object
errors
Required

errors