Organisations
Get organisation by ID
Mock APIs
Teams
Organisations
Data sources
Database connections
Usage
Access control
Stub Mappings
- GETGet all stub mappings
- POSTCreate a new stub mapping
- DELDelete all stub mappings
- POSTReset stub mappings
- POSTPersist stub mappings
- POSTImport stub mappings
- GETGet stub mapping by ID
- PUTUpdate a stub mapping
- DELDelete a stub mapping
- POSTFind stub mappings matching metadata
- POSTDelete stub mappings matching metadata
Requests
OpenAPI
Imports
Organisations
Get organisation by ID
GET
/
v1
/
organisations
/
{organisationId}
curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/organisations/{organisationId} \
--header 'Authorization: Basic <encoded-value>'
{
"organisation": {
"id": "mgk7g",
"name": "docs@example.com personal organisation",
"aclSubject": "0vzog",
"aclObject": "gkqmy",
"emailAddress": "docs@example.com",
"links": {
"self": "/v1/organisations/mgk7g",
"users": "/v1/organisations/mgk7g/users",
"teams": "/v1/organisations/mgk7g/teams",
"subscription": "/v1/subscriptions/qmr8z",
"invitations": "/v1/organisations/mgk7g/invitations",
"aclSubject": "/v1/acl/subjects/0vzog",
"aclObject": "/v1/acl/objects/gkqmy",
"acl": "/v1/organisations/mgk7g/acl{?subjectId}"
}
}
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
Response
200
application/json
200 response
curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/organisations/{organisationId} \
--header 'Authorization: Basic <encoded-value>'
{
"organisation": {
"id": "mgk7g",
"name": "docs@example.com personal organisation",
"aclSubject": "0vzog",
"aclObject": "gkqmy",
"emailAddress": "docs@example.com",
"links": {
"self": "/v1/organisations/mgk7g",
"users": "/v1/organisations/mgk7g/users",
"teams": "/v1/organisations/mgk7g/teams",
"subscription": "/v1/subscriptions/qmr8z",
"invitations": "/v1/organisations/mgk7g/invitations",
"aclSubject": "/v1/acl/subjects/0vzog",
"aclObject": "/v1/acl/objects/gkqmy",
"acl": "/v1/organisations/mgk7g/acl{?subjectId}"
}
}
}