Package com.datadog.api.client.v2.api
Class LogsRestrictionQueriesApi
java.lang.Object
com.datadog.api.client.v2.api.LogsRestrictionQueriesApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsRestrictionQueriesApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to listRestrictionQueries.static classManage optional parameters to listRestrictionQueryRoles. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRoleToRestrictionQuery(String restrictionQueryId, RelationshipToRole body) Grant role to a restriction query.addRoleToRestrictionQueryAsync(String restrictionQueryId, RelationshipToRole body) Grant role to a restriction query.addRoleToRestrictionQueryWithHttpInfo(String restrictionQueryId, RelationshipToRole body) Adds a role to a restriction query.addRoleToRestrictionQueryWithHttpInfoAsync(String restrictionQueryId, RelationshipToRole body) Grant role to a restriction query.Create a restriction query.Create a restriction query.Create a new restriction query for your organization.Create a restriction query.voiddeleteRestrictionQuery(String restrictionQueryId) Delete a restriction query.deleteRestrictionQueryAsync(String restrictionQueryId) Delete a restriction query.deleteRestrictionQueryWithHttpInfo(String restrictionQueryId) Deletes a restriction query.deleteRestrictionQueryWithHttpInfoAsync(String restrictionQueryId) Delete a restriction query.Get the API client.getRestrictionQuery(String restrictionQueryId) Get a restriction query.getRestrictionQueryAsync(String restrictionQueryId) Get a restriction query.getRestrictionQueryWithHttpInfo(String restrictionQueryId) Get a restriction query in the organization specified by the restriction query'srestriction_query_id.getRestrictionQueryWithHttpInfoAsync(String restrictionQueryId) Get a restriction query.getRoleRestrictionQuery(String roleId) Get restriction query for a given role.getRoleRestrictionQueryAsync(String roleId) Get restriction query for a given role.Get restriction query for a given role.Get restriction query for a given role.List restriction queries.listRestrictionQueries(LogsRestrictionQueriesApi.ListRestrictionQueriesOptionalParameters parameters) List restriction queries.List restriction queries.listRestrictionQueriesAsync(LogsRestrictionQueriesApi.ListRestrictionQueriesOptionalParameters parameters) List restriction queries.listRestrictionQueriesWithHttpInfo(LogsRestrictionQueriesApi.ListRestrictionQueriesOptionalParameters parameters) Returns all restriction queries, including their names and IDs.listRestrictionQueriesWithHttpInfoAsync(LogsRestrictionQueriesApi.ListRestrictionQueriesOptionalParameters parameters) List restriction queries.listRestrictionQueryRoles(String restrictionQueryId) List roles for a restriction query.listRestrictionQueryRoles(String restrictionQueryId, LogsRestrictionQueriesApi.ListRestrictionQueryRolesOptionalParameters parameters) List roles for a restriction query.listRestrictionQueryRolesAsync(String restrictionQueryId) List roles for a restriction query.listRestrictionQueryRolesAsync(String restrictionQueryId, LogsRestrictionQueriesApi.ListRestrictionQueryRolesOptionalParameters parameters) List roles for a restriction query.listRestrictionQueryRolesWithHttpInfo(String restrictionQueryId, LogsRestrictionQueriesApi.ListRestrictionQueryRolesOptionalParameters parameters) Returns all roles that have a given restriction query.listRestrictionQueryRolesWithHttpInfoAsync(String restrictionQueryId, LogsRestrictionQueriesApi.ListRestrictionQueryRolesOptionalParameters parameters) List roles for a restriction query.listUserRestrictionQueries(String userId) Get all restriction queries for a given user.Get all restriction queries for a given user.Get all restriction queries for a given user.Get all restriction queries for a given user.voidremoveRoleFromRestrictionQuery(String restrictionQueryId, RelationshipToRole body) Revoke role from a restriction query.removeRoleFromRestrictionQueryAsync(String restrictionQueryId, RelationshipToRole body) Revoke role from a restriction query.removeRoleFromRestrictionQueryWithHttpInfo(String restrictionQueryId, RelationshipToRole body) Removes a role from a restriction query.removeRoleFromRestrictionQueryWithHttpInfoAsync(String restrictionQueryId, RelationshipToRole body) Revoke role from a restriction query.replaceRestrictionQuery(String restrictionQueryId, RestrictionQueryUpdatePayload body) Replace a restriction query.replaceRestrictionQueryAsync(String restrictionQueryId, RestrictionQueryUpdatePayload body) Replace a restriction query.replaceRestrictionQueryWithHttpInfo(String restrictionQueryId, RestrictionQueryUpdatePayload body) Replace a restriction query.replaceRestrictionQueryWithHttpInfoAsync(String restrictionQueryId, RestrictionQueryUpdatePayload body) Replace a restriction query.voidsetApiClient(ApiClient apiClient) Set the API client.updateRestrictionQuery(String restrictionQueryId, RestrictionQueryUpdatePayload body) Update a restriction query.updateRestrictionQueryAsync(String restrictionQueryId, RestrictionQueryUpdatePayload body) Update a restriction query.updateRestrictionQueryWithHttpInfo(String restrictionQueryId, RestrictionQueryUpdatePayload body) Edit a restriction query.updateRestrictionQueryWithHttpInfoAsync(String restrictionQueryId, RestrictionQueryUpdatePayload body) Update a restriction query.
-
Constructor Details
-
LogsRestrictionQueriesApi
public LogsRestrictionQueriesApi() -
LogsRestrictionQueriesApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
addRoleToRestrictionQuery
public void addRoleToRestrictionQuery(String restrictionQueryId, RelationshipToRole body) throws ApiException Grant role to a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Throws:
ApiException- if fails to make API call
-
addRoleToRestrictionQueryAsync
public CompletableFuture<Void> addRoleToRestrictionQueryAsync(String restrictionQueryId, RelationshipToRole body) Grant role to a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- CompletableFuture
-
addRoleToRestrictionQueryWithHttpInfo
public ApiResponse<Void> addRoleToRestrictionQueryWithHttpInfo(String restrictionQueryId, RelationshipToRole body) throws ApiException Adds a role to a restriction query.Note: This operation automatically grants the
logs_read_datapermission to the role if it doesn't already have it.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 403 Authentication error - 404 Not found - 429 Too many requests -
-
addRoleToRestrictionQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> addRoleToRestrictionQueryWithHttpInfoAsync(String restrictionQueryId, RelationshipToRole body) Grant role to a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
createRestrictionQuery
public RestrictionQueryWithoutRelationshipsResponse createRestrictionQuery(RestrictionQueryCreatePayload body) throws ApiException Create a restriction query.See
createRestrictionQueryWithHttpInfo(com.datadog.api.client.v2.model.RestrictionQueryCreatePayload).- Parameters:
body- (required)- Returns:
- RestrictionQueryWithoutRelationshipsResponse
- Throws:
ApiException- if fails to make API call
-
createRestrictionQueryAsync
public CompletableFuture<RestrictionQueryWithoutRelationshipsResponse> createRestrictionQueryAsync(RestrictionQueryCreatePayload body) Create a restriction query.- Parameters:
body- (required)- Returns:
- CompletableFuture<RestrictionQueryWithoutRelationshipsResponse>
-
createRestrictionQueryWithHttpInfo
public ApiResponse<RestrictionQueryWithoutRelationshipsResponse> createRestrictionQueryWithHttpInfo(RestrictionQueryCreatePayload body) throws ApiException Create a new restriction query for your organization.- Parameters:
body- (required)- Returns:
- ApiResponse<RestrictionQueryWithoutRelationshipsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication error - 429 Too many requests -
-
createRestrictionQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<RestrictionQueryWithoutRelationshipsResponse>> createRestrictionQueryWithHttpInfoAsync(RestrictionQueryCreatePayload body) Create a restriction query.See
createRestrictionQueryWithHttpInfo(com.datadog.api.client.v2.model.RestrictionQueryCreatePayload).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<RestrictionQueryWithoutRelationshipsResponse>>
-
deleteRestrictionQuery
Delete a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Throws:
ApiException- if fails to make API call
-
deleteRestrictionQueryAsync
Delete a restriction query.See
deleteRestrictionQueryWithHttpInfoAsync(java.lang.String).- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Returns:
- CompletableFuture
-
deleteRestrictionQueryWithHttpInfo
public ApiResponse<Void> deleteRestrictionQueryWithHttpInfo(String restrictionQueryId) throws ApiException Deletes a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 403 Authentication error - 404 Not found - 429 Too many requests -
-
deleteRestrictionQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteRestrictionQueryWithHttpInfoAsync(String restrictionQueryId) Delete a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getRestrictionQuery
public RestrictionQueryWithRelationshipsResponse getRestrictionQuery(String restrictionQueryId) throws ApiException Get a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Returns:
- RestrictionQueryWithRelationshipsResponse
- Throws:
ApiException- if fails to make API call
-
getRestrictionQueryAsync
public CompletableFuture<RestrictionQueryWithRelationshipsResponse> getRestrictionQueryAsync(String restrictionQueryId) Get a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Returns:
- CompletableFuture<RestrictionQueryWithRelationshipsResponse>
-
getRestrictionQueryWithHttpInfo
public ApiResponse<RestrictionQueryWithRelationshipsResponse> getRestrictionQueryWithHttpInfo(String restrictionQueryId) throws ApiException Get a restriction query in the organization specified by the restriction query'srestriction_query_id.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Returns:
- ApiResponse<RestrictionQueryWithRelationshipsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication error - 404 Not found - 429 Too many requests -
-
getRestrictionQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<RestrictionQueryWithRelationshipsResponse>> getRestrictionQueryWithHttpInfoAsync(String restrictionQueryId) Get a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Returns:
- CompletableFuture<ApiResponse<RestrictionQueryWithRelationshipsResponse>>
-
getRoleRestrictionQuery
Get restriction query for a given role.- Parameters:
roleId- The ID of the role. (required)- Returns:
- RestrictionQueryListResponse
- Throws:
ApiException- if fails to make API call
-
getRoleRestrictionQueryAsync
Get restriction query for a given role.See
getRoleRestrictionQueryWithHttpInfoAsync(java.lang.String).- Parameters:
roleId- The ID of the role. (required)- Returns:
- CompletableFuture<RestrictionQueryListResponse>
-
getRoleRestrictionQueryWithHttpInfo
public ApiResponse<RestrictionQueryListResponse> getRoleRestrictionQueryWithHttpInfo(String roleId) throws ApiException Get restriction query for a given role.- Parameters:
roleId- The ID of the role. (required)- Returns:
- ApiResponse<RestrictionQueryListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication error - 404 Not found - 429 Too many requests -
-
getRoleRestrictionQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<RestrictionQueryListResponse>> getRoleRestrictionQueryWithHttpInfoAsync(String roleId) Get restriction query for a given role.- Parameters:
roleId- The ID of the role. (required)- Returns:
- CompletableFuture<ApiResponse<RestrictionQueryListResponse>>
-
listRestrictionQueries
List restriction queries.- Returns:
- RestrictionQueryListResponse
- Throws:
ApiException- if fails to make API call
-
listRestrictionQueriesAsync
List restriction queries.- Returns:
- CompletableFuture<RestrictionQueryListResponse>
-
listRestrictionQueries
public RestrictionQueryListResponse listRestrictionQueries(LogsRestrictionQueriesApi.ListRestrictionQueriesOptionalParameters parameters) throws ApiException List restriction queries.- Parameters:
parameters- Optional parameters for the request.- Returns:
- RestrictionQueryListResponse
- Throws:
ApiException- if fails to make API call
-
listRestrictionQueriesAsync
public CompletableFuture<RestrictionQueryListResponse> listRestrictionQueriesAsync(LogsRestrictionQueriesApi.ListRestrictionQueriesOptionalParameters parameters) List restriction queries.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<RestrictionQueryListResponse>
-
listRestrictionQueriesWithHttpInfo
public ApiResponse<RestrictionQueryListResponse> listRestrictionQueriesWithHttpInfo(LogsRestrictionQueriesApi.ListRestrictionQueriesOptionalParameters parameters) throws ApiException Returns all restriction queries, including their names and IDs.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<RestrictionQueryListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Authentication error - 429 Too many requests -
-
listRestrictionQueriesWithHttpInfoAsync
public CompletableFuture<ApiResponse<RestrictionQueryListResponse>> listRestrictionQueriesWithHttpInfoAsync(LogsRestrictionQueriesApi.ListRestrictionQueriesOptionalParameters parameters) List restriction queries.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<RestrictionQueryListResponse>>
-
listRestrictionQueryRoles
public RestrictionQueryRolesResponse listRestrictionQueryRoles(String restrictionQueryId) throws ApiException List roles for a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Returns:
- RestrictionQueryRolesResponse
- Throws:
ApiException- if fails to make API call
-
listRestrictionQueryRolesAsync
public CompletableFuture<RestrictionQueryRolesResponse> listRestrictionQueryRolesAsync(String restrictionQueryId) List roles for a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)- Returns:
- CompletableFuture<RestrictionQueryRolesResponse>
-
listRestrictionQueryRoles
public RestrictionQueryRolesResponse listRestrictionQueryRoles(String restrictionQueryId, LogsRestrictionQueriesApi.ListRestrictionQueryRolesOptionalParameters parameters) throws ApiException List roles for a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)parameters- Optional parameters for the request.- Returns:
- RestrictionQueryRolesResponse
- Throws:
ApiException- if fails to make API call
-
listRestrictionQueryRolesAsync
public CompletableFuture<RestrictionQueryRolesResponse> listRestrictionQueryRolesAsync(String restrictionQueryId, LogsRestrictionQueriesApi.ListRestrictionQueryRolesOptionalParameters parameters) List roles for a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<RestrictionQueryRolesResponse>
-
listRestrictionQueryRolesWithHttpInfo
public ApiResponse<RestrictionQueryRolesResponse> listRestrictionQueryRolesWithHttpInfo(String restrictionQueryId, LogsRestrictionQueriesApi.ListRestrictionQueryRolesOptionalParameters parameters) throws ApiException Returns all roles that have a given restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<RestrictionQueryRolesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication error - 404 Not found - 429 Too many requests -
-
listRestrictionQueryRolesWithHttpInfoAsync
public CompletableFuture<ApiResponse<RestrictionQueryRolesResponse>> listRestrictionQueryRolesWithHttpInfoAsync(String restrictionQueryId, LogsRestrictionQueriesApi.ListRestrictionQueryRolesOptionalParameters parameters) List roles for a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<RestrictionQueryRolesResponse>>
-
listUserRestrictionQueries
Get all restriction queries for a given user.See
listUserRestrictionQueriesWithHttpInfo(java.lang.String).- Parameters:
userId- The ID of the user. (required)- Returns:
- RestrictionQueryListResponse
- Throws:
ApiException- if fails to make API call
-
listUserRestrictionQueriesAsync
public CompletableFuture<RestrictionQueryListResponse> listUserRestrictionQueriesAsync(String userId) Get all restriction queries for a given user.See
listUserRestrictionQueriesWithHttpInfoAsync(java.lang.String).- Parameters:
userId- The ID of the user. (required)- Returns:
- CompletableFuture<RestrictionQueryListResponse>
-
listUserRestrictionQueriesWithHttpInfo
public ApiResponse<RestrictionQueryListResponse> listUserRestrictionQueriesWithHttpInfo(String userId) throws ApiException Get all restriction queries for a given user.- Parameters:
userId- The ID of the user. (required)- Returns:
- ApiResponse<RestrictionQueryListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication error - 404 Not found - 429 Too many requests -
-
listUserRestrictionQueriesWithHttpInfoAsync
public CompletableFuture<ApiResponse<RestrictionQueryListResponse>> listUserRestrictionQueriesWithHttpInfoAsync(String userId) Get all restriction queries for a given user.See
listUserRestrictionQueriesWithHttpInfo(java.lang.String).- Parameters:
userId- The ID of the user. (required)- Returns:
- CompletableFuture<ApiResponse<RestrictionQueryListResponse>>
-
removeRoleFromRestrictionQuery
public void removeRoleFromRestrictionQuery(String restrictionQueryId, RelationshipToRole body) throws ApiException Revoke role from a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Throws:
ApiException- if fails to make API call
-
removeRoleFromRestrictionQueryAsync
public CompletableFuture<Void> removeRoleFromRestrictionQueryAsync(String restrictionQueryId, RelationshipToRole body) Revoke role from a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- CompletableFuture
-
removeRoleFromRestrictionQueryWithHttpInfo
public ApiResponse<Void> removeRoleFromRestrictionQueryWithHttpInfo(String restrictionQueryId, RelationshipToRole body) throws ApiException Removes a role from a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 403 Authentication error - 404 Not found - 429 Too many requests -
-
removeRoleFromRestrictionQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> removeRoleFromRestrictionQueryWithHttpInfoAsync(String restrictionQueryId, RelationshipToRole body) Revoke role from a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
replaceRestrictionQuery
public RestrictionQueryWithoutRelationshipsResponse replaceRestrictionQuery(String restrictionQueryId, RestrictionQueryUpdatePayload body) throws ApiException Replace a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- RestrictionQueryWithoutRelationshipsResponse
- Throws:
ApiException- if fails to make API call
-
replaceRestrictionQueryAsync
public CompletableFuture<RestrictionQueryWithoutRelationshipsResponse> replaceRestrictionQueryAsync(String restrictionQueryId, RestrictionQueryUpdatePayload body) Replace a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- CompletableFuture<RestrictionQueryWithoutRelationshipsResponse>
-
replaceRestrictionQueryWithHttpInfo
public ApiResponse<RestrictionQueryWithoutRelationshipsResponse> replaceRestrictionQueryWithHttpInfo(String restrictionQueryId, RestrictionQueryUpdatePayload body) throws ApiException Replace a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- ApiResponse<RestrictionQueryWithoutRelationshipsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication error - 404 Not found - 429 Too many requests -
-
replaceRestrictionQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<RestrictionQueryWithoutRelationshipsResponse>> replaceRestrictionQueryWithHttpInfoAsync(String restrictionQueryId, RestrictionQueryUpdatePayload body) Replace a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<RestrictionQueryWithoutRelationshipsResponse>>
-
updateRestrictionQuery
public RestrictionQueryWithoutRelationshipsResponse updateRestrictionQuery(String restrictionQueryId, RestrictionQueryUpdatePayload body) throws ApiException Update a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- RestrictionQueryWithoutRelationshipsResponse
- Throws:
ApiException- if fails to make API call
-
updateRestrictionQueryAsync
public CompletableFuture<RestrictionQueryWithoutRelationshipsResponse> updateRestrictionQueryAsync(String restrictionQueryId, RestrictionQueryUpdatePayload body) Update a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- CompletableFuture<RestrictionQueryWithoutRelationshipsResponse>
-
updateRestrictionQueryWithHttpInfo
public ApiResponse<RestrictionQueryWithoutRelationshipsResponse> updateRestrictionQueryWithHttpInfo(String restrictionQueryId, RestrictionQueryUpdatePayload body) throws ApiException Edit a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- ApiResponse<RestrictionQueryWithoutRelationshipsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication error - 404 Not found - 429 Too many requests -
-
updateRestrictionQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<RestrictionQueryWithoutRelationshipsResponse>> updateRestrictionQueryWithHttpInfoAsync(String restrictionQueryId, RestrictionQueryUpdatePayload body) Update a restriction query.- Parameters:
restrictionQueryId- The ID of the restriction query. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<RestrictionQueryWithoutRelationshipsResponse>>
-