Check if a user has the required roles of a project.
get/midgard/v3.0/project/{projectId}/access
Returns the project ID and name if the user has the required role.
Request
Authorization
X-AT
header
apiKey
Path Parameters
projectIdThe ID of the project.
integer
REQUIRED
Query Parameters
rolesA comma separated list of one or more roles the user must have on the project.
string
REQUIRED
Response
200Project access check successful.
403User is not allowed to access this resource.
404Not Found - The specified project could not be found.
Shell cURL
shell
Show schema
json