Skip to content
Snippets Groups Projects

Resolve "Add admin User view"

Merged Daniel Göbel requested to merge feature/91-add-admin-user-view into main
18 files
+ 311
48
Compare changes
  • Side-by-side
  • Inline
Files
18
@@ -129,11 +129,40 @@ export class ResourceVersionService {
},
});
}
/**
* Deny synchronization request to cluster
* Deny the synchronization request of the resource version to the cluster.
*
* Permission `resource:sync` required.
* @param rid
* @param rvid
* @returns ResourceVersionOut Successful Response
* @throws ApiError
*/
public static resourceVersionResourceVersionSyncDeny(
rid: string,
rvid: string,
): CancelablePromise<ResourceVersionOut> {
return __request(OpenAPI, {
method: 'PUT',
url: '/resources/{rid}/versions/{rvid}/deny',
path: {
'rid': rid,
'rvid': rvid,
},
errors: {
400: `Error decoding JWT Token`,
403: `Not authenticated`,
404: `Entity not Found`,
422: `Validation Error`,
},
});
}
/**
* Synchronize resource version with cluster
* Synchronize the resource version to the cluster.
*
* Permission `resource:sync` required.
* Permission `resource:sync` required and `resource:sync_denied` if the status is `DENIED`.
* @param rid
* @param rvid
* @returns ResourceVersionOut Successful Response
Loading