< Back
Send-EdgeRequest
Post
NAME Send-EdgeRequest
SYNOPSIS
Send a POST request to Apigee Edge admin endpoint.
SYNTAX
Send-EdgeRequest [[-Collection] <String>] [[-Name] <String>] [[-QParams] <String>] [[-NoAccept] <String>]
[[-ContentType] <String>] [[-Org] <String>] [[-Payload] <Hashtable>] [<CommonParameters>]
DESCRIPTION
Send a POST request to Apigee Edge admin endpoint. This can be used to create
an object in Apigee Edge, to Update an object, Revoke a key, etc.
PARAMETERS
-Collection <String>
Required. Type of object to create. This may be a composite.
Example: 'developers', 'apis', or 'apiproducts', or 'developers/dino@apigee.com/apps'
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Optional. a Particular name within the collection.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-QParams <String>
Optional. Hashtable, which will be serialized as query params.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-NoAccept <String>
Optional. A string; set it to turn off the Accept header.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ContentType <String>
Optional. A string, to override the content-type header.
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Org <String>
The Apigee Edge organization.
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Payload <Hashtable>
Optional. Hashtable, which will become the payload of the POST method. Serialized as JSON.
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Send-EdgeRequest -Collection 'developers/dino@apigee.com/apps' -Payload @{
name = 'abcdefg-1'
apiProducts = @('Product1')
keyExpiresIn = 86400000
}
RELATED LINKS
SYNOPSIS
Send a POST request to Apigee Edge admin endpoint.
SYNTAX
Send-EdgeRequest [[-Collection] <String>] [[-Name] <String>] [[-QParams] <String>] [[-NoAccept] <String>]
[[-ContentType] <String>] [[-Org] <String>] [[-Payload] <Hashtable>] [<CommonParameters>]
DESCRIPTION
Send a POST request to Apigee Edge admin endpoint. This can be used to create
an object in Apigee Edge, to Update an object, Revoke a key, etc.
PARAMETERS
-Collection <String>
Required. Type of object to create. This may be a composite.
Example: 'developers', 'apis', or 'apiproducts', or 'developers/dino@apigee.com/apps'
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Optional. a Particular name within the collection.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-QParams <String>
Optional. Hashtable, which will be serialized as query params.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-NoAccept <String>
Optional. A string; set it to turn off the Accept header.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ContentType <String>
Optional. A string, to override the content-type header.
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Org <String>
The Apigee Edge organization.
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Payload <Hashtable>
Optional. Hashtable, which will become the payload of the POST method. Serialized as JSON.
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Send-EdgeRequest -Collection 'developers/dino@apigee.com/apps' -Payload @{
name = 'abcdefg-1'
apiProducts = @('Product1')
keyExpiresIn = 86400000
}
RELATED LINKS