Update a brand link
The id of the domain..
The id of the brand link.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEY
This class is used to create, update for the brand link.
The parent brand link id. If this is null, it means the link is a node link.
The name.
Provides all the types of BrandLink.
The styles of the link.
The icon url.
The reference link. Clicking the link redirects to the specified URL. To use a local path, provide a relative path in the format: /path/to/your/page.
The z-order numer of the link. If this is not provided, we will be checking the max z-order of the parent link and increment by 1.
This enum is used to define the common status of an object in JFW.
Supported values:
The description.
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
The brand link was not found in the system.
API call exceeded rate limit due to too many requests.
PUT /api/v1/domains/{domainId}/links/{brandLinkId} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"parentBrandLinkId": "text",
"name": "text",
"type": "Unknown",
"styles": "text",
"iconUrl": "https://example.com",
"link": "text",
"zOrder": 1,
"status": "Inactive",
"description": "text"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"brandId": "KAOplmx0i1A",
"parentBrandLinkId": "Plo0szlmPs",
"name": "Name",
"type": "BodyFooter",
"styles": "Group Name",
"iconURL": "https://www.example.com/icon.png",
"link": "https://www.example.com",
"description": "Description",
"status": "Active",
"items": [],
"zOrder": 1,
"id": "sApKpllz4sAplsmzha"
},
"errors": []
}
Last updated
Was this helpful?