deployedApiUpdate
Updates an existing deployed API configuration.
Input Parameters:
deployedApi: Configuration object containing deployment settings including authentication, plans, and execution settings. WhenpolicyTemplatesis provided, templates within eachtemplatePathgroup execute in the order given. If more than one group targets the sametemplatePath, their templates are merged and ordered by group order, then by order within each group.
Response:
- Returns the updated DeployedApi object with all configuration details.
Example Request:
mutation {
deployedApiUpdate(deployedApi: {
id: "<xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx>",
customPolicies: [
{
path: "/",
rules: ["<xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx>"],
appliedWhen: AFTER_STANDARD_POLICIES
}
]
}) {
id,
customPolicies {
path,
when,
rules {
id,
name
}
}
}
}
deployedApiUpdate(
deployedApi: DeployedApiInput!
): DeployedApi!
Arguments
deployedApiUpdate.deployedApi ● DeployedApiInput! non-null input platform {#deployed-api}
Type
DeployedApi object platform
Represents an API deployed to a specific environment and the various information associated with it (Component, ApiComponentMetadata, Environment, DeployedApiEndpoint, Keyless Plan, number of plans associated with Deployed Api, Execution Settings and required roles)
Was this topic helpful?