Getting Started
This section describes how to create an enterprise project by invoking the API of EPS.
The validity period of a token obtained from IAM is 24 hours. If you want to use a token for authentication, cache it to avoid frequently calling the IAM API.
Involved APIs
To use token authentication, you need to obtain a token and add X-Auth-Token to the request header of API calls.
- API for obtaining tokens from IAM
- API for creating an enterprise project
Procedure
- Obtain the token by following instructions in Authentication.
- Send POST https://EPS Endpoint/v1.0/enterprise-projects.
Add Content-Type and X-Auth-Token to the request header.
Specify the following parameters in the request body:{ "name":"enterprise_project1", "description": "description" }
If the request is responded, enterprise_project is returned.
If the request fails, an error code and error information are returned. For details, see Error Code Description.For details about the elements and return values of response messages, see Creating an Enterprise Project.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.