const apiInstance = new Fastly.SudoApi();
Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
requestSudoAccess | POST /sudo | Request Sudo access |
requestSudoAccess({ , [sudo_request] })
Re-authenticate to allow the provided user to obtain sudo access.
const options = {
sudo_request: new Fastly.SudoRequest(),
};
apiInstance.requestSudoAccess(options)
.then((data) => {
console.log(data, "API called successfully.");
})
.catch((error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
sudo_request | SudoRequest | [optional] |