Tenant Group Membership Resource Options
The OPTIONS request allows checking for the set of available operations that the currently authenticated user can perform on the resource. If the user can perform an operation or not may depend on various things, including the users authorizations to interact with this resource and the internal configuration of the process engine.
Method
OPTIONS /tenant/{id}/group-members
for available interactions on resource
Parameters
Path Parameters
Name | Description |
---|---|
id | The id of the tenant |
Result
A JSON object with a single property named links
, providing a list of resource links. Each link has the following properties
Name | Type | Description |
---|---|---|
method | String | The HTTP method to use for the interaction. |
href | String | The interaction URL. |
rel | String | The relation of the interaction (i.e., a symbolic name representing the nature of the interaction). Examples: create , delete ... |
Response Codes
Code | Media type | Description |
---|---|---|
200 | application/json | Request successful. |
Example
Request
OPTIONS /tenant/tenantOne/group-members
Response
Status 200.
{"links":[
{"method":"DELETE","href":"http://localhost:8080/engine-rest/tenant/tenantOne/group-members","rel":"delete"},
{"method":"PUT","href":"http://localhost:8080/engine-rest/tenant/tenantOne/group-members","rel":"create"}]
}