Returns an organization as identified by its token.
Mend API (2.0)
Mend's enhanced SCA API enables automation of workflows in a REST compliant format. The API features:
- Access for any user with Mend credentials, via a user key available in the user's profile page in the Mend App.
- Improved security with a JWT token per organization, which expires every 10 minutes.
- Added scalability with support for pagination, filtering and sorting search results.
- Broader functionality available programmatically.
- New standard API documentation for easy navigation and search.
Note: To help you get started with the Mend SCA API 2.0, we recommend reviewing our onboarding guide -> Getting Started with Mend SCA API 2.0. This resource covers initial setup, authentication instructions, and helpful tips to help you successfully begin working with the Mend SCA API 2.0. If you have a dedicated instance of Mend, contact your Mend representative to access this API on your instance.
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs/{orgToken}
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payloadResponse
application/json
{ "supportToken": "1171c60d", "retVal": { "uuid": "123e4567-e89b-12d3-a456-426655440000", "name": "Context A" } }
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs/{orgToken}
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
application/json
{ "name": "Entity A" }
Response
application/json
{ "supportToken": "1171c60d", "retVal": { "uuid": "123e4567-e89b-12d3-a456-426655440000", "name": "Organization A" } }
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs/{orgToken}/projects
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payloadOK
- totalItems: The total count of data points returned in an API response.
- isLastPage: Defines whether the current page represents the conclusion of the API response. When “true”, this signifies you are viewing the last page of the API response. When “false”, this indicates there are further pages remaining.
Example: {"totalItems":"422","isLastPage":"true"}
Response
application/json
{ "additionalData": { "totalItems": "422", "isLastPage": "true" }, "supportToken": "1171c60d", "retVal": [ { … } ] }
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs/{orgToken}/projects
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
application/json
{ "projectName": "Project A", "projectDescription": "Description for project", "productName": "Product A" }
Response
application/json
{ "additionalData": { "created": "true" }, "supportToken": "1171c60d", "retVal": { "project": { … }, "product": { … } } }
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs/{orgToken}/products
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payloadOK
- totalItems: The total count of data points returned in an API response.
- isLastPage: Defines whether the current page represents the conclusion of the API response. When “true”, this signifies you are viewing the last page of the API response. When “false”, this indicates there are further pages remaining.
Example: {"totalItems":"422","isLastPage":"true"}
Response
application/json
{ "additionalData": { "totalItems": "422", "isLastPage": "true" }, "supportToken": "1171c60d", "retVal": [ { … } ] }
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs/{orgToken}/products
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
application/json
{ "productName": "Product A" }
Response
application/json
{ "additionalData": { "created": "true" }, "supportToken": "1171c60d", "retVal": { "uuid": "123e4567-e89b-12d3-a456-426655440000", "name": "Product A" } }
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payloadResponse
application/json
{ "supportToken": "1171c60d", "retVal": [ { … } ] }
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs/{orgToken}/productEntities
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payloadOK
- totalItems: The total count of data points returned in an API response.
- isLastPage: Defines whether the current page represents the conclusion of the API response. When “true”, this signifies you are viewing the last page of the API response. When “false”, this indicates there are further pages remaining.
Example: {"totalItems":"422","isLastPage":"true"}
Response
application/json
{ "additionalData": { "totalItems": "422", "isLastPage": "true" }, "supportToken": "1171c60d", "retVal": [ { … } ] }
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs/{orgToken}/entities
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payloadOK
- totalItems: The total count of data points returned in an API response.
- isLastPage: Defines whether the current page represents the conclusion of the API response. When “true”, this signifies you are viewing the last page of the API response. When “false”, this indicates there are further pages remaining.
Example: {"totalItems":"422","isLastPage":"true"}
Response
application/json
{ "additionalData": { "totalItems": "422", "isLastPage": "true" }, "supportToken": "1171c60d", "retVal": [ { … } ] }
- Generated server urlhttps://api-saas.mend.io/api/v2.0/orgs/{orgToken}/changeOrganization/{otherOrgToken}
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payloadResponse
application/json
{ "supportToken": "1171c60d", "retVal": { "correlationId": "string", "userUuid": "string", "userName": "string", "email": "string", "refreshToken": "string", "jwtToken": "string", "orgName": "Organization A", "orgUuid": "123e4567-e89b-12d3-a456-426655440000" } }