@@ -3778,6 +3778,55 @@ paths:
37783778 $ref : ' #/definitions/v1beta1PolicyRequestBody'
37793779 tags :
37803780 - Policy
3781+ /v1beta1/policies/{id}/replace :
3782+ post :
3783+ summary : Replace policy
3784+ description : Deletes an existing policy and create new.
3785+ operationId : FrontierService_ReplacePolicy
3786+ responses :
3787+ " 200 " :
3788+ description : A successful response.
3789+ schema :
3790+ $ref : ' #/definitions/v1beta1ReplacePolicyResponse'
3791+ " 400 " :
3792+ description : Bad Request - The request was malformed or contained invalid parameters.
3793+ schema :
3794+ $ref : ' #/definitions/rpcStatus'
3795+ " 401 " :
3796+ description : Unauthorized - Authentication is required
3797+ schema :
3798+ $ref : ' #/definitions/rpcStatus'
3799+ " 403 " :
3800+ description : Forbidden - User does not have permission to access the resource
3801+ schema :
3802+ $ref : ' #/definitions/rpcStatus'
3803+ " 404 " :
3804+ description : Not Found - The requested resource was not found
3805+ schema :
3806+ $ref : ' #/definitions/rpcStatus'
3807+ " 500 " :
3808+ description : Internal Server Error. Returned when theres is something wrong with Frontier server.
3809+ schema :
3810+ $ref : ' #/definitions/rpcStatus'
3811+ default :
3812+ description : An unexpected error response.
3813+ schema :
3814+ $ref : ' #/definitions/rpcStatus'
3815+ parameters :
3816+ - name : id
3817+ in : path
3818+ required : true
3819+ type : string
3820+ - name : body
3821+ in : body
3822+ required : true
3823+ schema :
3824+ type : object
3825+ properties :
3826+ body :
3827+ $ref : ' #/definitions/v1beta1PolicyRequestBody'
3828+ tags :
3829+ - Policy
37813830 /v1beta1/preferences :
37823831 get :
37833832 summary : List platform preferences
@@ -7922,6 +7971,8 @@ definitions:
79227971 type : object
79237972 v1beta1RemoveOrganizationUserResponse :
79247973 type : object
7974+ v1beta1ReplacePolicyResponse :
7975+ type : object
79257976 v1beta1Resource :
79267977 type : object
79277978 properties :
0 commit comments