GET
/
v1
/
{entityCollection}
/
{entityId}
/
acl
/
candidates
curl --request GET \
  --url https://wmc.wiremockapi.cloud/v1/{entityCollection}/{entityId}/acl/candidates \
  --header 'Authorization: Basic <encoded-value>'
{
  "candidates": [
    {
      "name": "All in organisation",
      "links": {
        "self": {
          "href": "/v1/mock-apis/l36le/acl/organisation/mgk7g"
        }
      }
    },
    {
      "name": "Elite Team",
      "links": {
        "self": {
          "href": "/v1/mock-apis/l36le/acl/team/p9e4r"
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

entityCollection
enum<string>
required

Specifies the plural of the entity type for which ACL candidates should be retrieved.

Available options:
mock-apis,
data-sources
entityId
string
required

The ID of the entity (mock API, data source etc.)

Required string length: 5 - 10

Query Parameters

limit
integer

Response

200 - application/json
ACL candidates
candidates
object[]
required