Update APN Profile (v2.0)
PUT/v2.0/api/tenants/:tenant_id/apnprofiles/:apnprofile_id
Update an APN Profile.
Request
Path Parameters
ID of the tenant.
The ID of the APN profile.
- application/json
Body
Enter the APN name that provides access to the mobile broadband network. APN information is provided by the operator. APN name must be greater than one character and an allowed max length is 100. Valid characters are alphanumeric, hyphen (-), and period (.). Must begin and end with an alphanumeric character.
Possible values: [none
, pap
, chap
, pap_or_chap
]
Authentication mode to access the mobile broadband network.
Ignore this field.
Enter the name or acronym of the mobile broadband service provider or any other information that might help you to identify the APN profile. Max size = 256.
Ignore this field.
Enter the name or acronym to identify the APN profile. Max size = 128.
If you select an authentication mode, enter the password to access the mobile broadband network.
Tags is a mechanism to group the content for easy retrieval. It helps to organize the content. The tags associate a relevance to the object.
If you select an authentication mode, enter the user name to access the mobile broadband network. Size (max = 100, min = 0).
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
Enter the APN name that provides access to the mobile broadband network. APN information is provided by the operator. APN name must be greater than one character and an allowed max length is 100. Valid characters are alphanumeric, hyphen (-), and period (.). Must begin and end with an alphanumeric character.
Possible values: [none
, pap
, chap
, pap_or_chap
]
Authentication mode to access the mobile broadband network.
Ignore this field.
Enter the name or acronym of the mobile broadband service provider or any other information that might help you to identify the APN profile. Max size = 256.
Ignore this field.
Enter the name or acronym to identify the APN profile. Max size = 128.
If you select an authentication mode, enter the password to access the mobile broadband network.
Tags is a mechanism to group the content for easy retrieval. It helps to organize the content. The tags associate a relevance to the object.
If you select an authentication mode, enter the user name to access the mobile broadband network. Size (max = 100, min = 0).
{
"apn": "string",
"authentication": "none",
"clear_password": true,
"id": "string",
"name": "string",
"password": "string",
"tags": [
"string"
],
"user_name": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_INPUT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "APN_PROFILE_MISSING_APN_NAME"
},
{
"code": "APN_PROFILE_NAME_INVALID"
},
{
"code": "APN_PROFILE_PASSWORD_INVALID"
},
{
"code": "APN_PROFILE_USERNAME_INVALID"
},
{
"code": "APN_PROFILE_INVALID_APN_AUTH"
},
{
"code": "APN_PROFILE_PASSWORD_WITHOUT_USERNAME"
},
{
"code": "APN_PROFILE_PASSWORD_PRESENT_WHEN_CLEAR_PASSWORD_TRUE"
}
]
}
}