Update a Presentation Network
const url = 'https://example.com/api/v1/presentation-networks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {'X-CSRF-Token': 'example', 'Content-Type': 'application/json'}, body: '{"name":"example","ssid":"example","hidden":true,"security":"wpa_psk","secret":"example","identity":"example","anonymousIdentity":"example","caCertificatePem":"example","domainSuffixMatch":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/api/v1/presentation-networks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --header 'X-CSRF-Token: example' \ --data '{ "name": "example", "ssid": "example", "hidden": true, "security": "wpa_psk", "secret": "example", "identity": "example", "anonymousIdentity": "example", "caCertificatePem": "example", "domainSuffixMatch": "example" }'The secret field is write-only. Omitting it retains the saved credential; providing a new value rotates it and increments configRevision. No response contains the secret or ciphertext.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
WPA2/WPA3 Personal PSK or WPA2-Enterprise PEAP/MSCHAPv2.
WPA PSK/passphrase or Enterprise password. Write-only; never returned by Studio, logged, audited, or placed in a player command.
Responses
Section titled “ Responses ”Redacted network after the update
object
object
WPA2/WPA3 Personal PSK or WPA2-Enterprise PEAP/MSCHAPv2.
object
Public CA certificate chain for Enterprise server validation.
Expected RADIUS server domain; requires caCertificatePem.
True means a credential exists; its value is never returned.
Example
{ "data": { "security": "wpa_psk" }}Insufficient role or CSRF failure
Presentation Network not found
Encryption key unavailable or stored credential unreadable
Network