Update a compliance portal
put
https://api.expiryedge.com/v1/updatePortaladmin60/min
Anfrage
curl -X PUT 'https://api.expiryedge.com/v1/updatePortal' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"portalId": "prt_5Vb1nK",
"is_active": false
}'Antwort
{
"success": true
}Partial update: only the fields you send change. password: "" removes the password. Returns 403 for another organization's portal.
portalIdstringerforderlichis_activebooleannamestringRequired on create.descriptionstringclient_namestringclient_emailstringexpiry_idsarray of stringExpiry ids shown on the portal. Every id must belong to your organization (400 otherwise); duplicates are removed.max items: 1000passwordstringOptional viewer password. On update, an empty string removes the password. Never returned.link_expires_atstring | nullAfter this time viewPortal returns 410.format: date-time
200
Updated.
successbooleanmessagestring
400 | The request is missing required fields or contains invalid values. |
401 | Missing, expired or invalid bearer token. |
403 | Authenticated, but your role or organization does not allow this action. |
404 | The record does not exist or is not in your organization. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
500 | Unexpected server error. Retry later; quote requestId to support. |
