Function
Modify the edge worker metadata.
Modify the edge worker metadata.
put/_fabric/{fabric}/_api/function/metadata
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring string required
The name of the fabric.
Request body
Example request
{
"type": "akamai",
"accessToken": "66c6c8a1d7112066cbd1905cb909bbe1e29ae730f7873b4ff35afe286",
"baseUri": "something.akamai.com",
"clientSecret": "86c6c8a1d7112066cbd1905cb909bbe1e29ae730f7873b4ff35afe286",
"clientToken": "96c6c8a1d7112066cbd1905cb909bbe1e29ae730f7873b4ff35afe286",
"resourceTierId": "201",
"groupId": "221222",
"hostName": "macrometa-akamai-ew.macrometa.io"
}Response
Successfully modified the edge worker metadata.
Example response
{
"code": 201,
"result": true
}Changes
No recorded changes to this operation across all 1 revision of this API.