PUT/v1/acl/mapping

Create an ACL mapping

Creates an ACL mapping between a project and a team. Supply project and team as UUIDs; the authenticated user needs the ACCESS_MANAGEMENT permission. Use this operation to grant a team access to a project through an ACL mapping.

2 body fields

The project and team to associate in an ACL mapping. Both fields are required.

projectstringrequired
The UUID of the project to associate with the team.
teamstringrequired
The UUID of the team to associate with the project.

4 status codes
200Returns the created ACL mapping with the project and team UUIDs.
projectstringrequired
teamstringrequired
401Returned when the request is unauthorized.
404Returned when the team or project could not be found.
detailstringrequired
Human-readable explanation specific to this occurrence of the problem
instancestringoptional
Reference URI that identifies the specific occurrence of the problem
statusintegerrequired
HTTP status code generated by the origin server for this occurrence of the problem
titlestringrequired
Short, human-readable summary of the problem type
typestringoptional
A URI reference that identifies the problem type
409Returned when a mapping for the same team and project already exists.
detailstringrequired
Human-readable explanation specific to this occurrence of the problem
instancestringoptional
Reference URI that identifies the specific occurrence of the problem
statusintegerrequired
HTTP status code generated by the origin server for this occurrence of the problem
titlestringrequired
Short, human-readable summary of the problem type
typestringoptional
A URI reference that identifies the problem type

Error handling

A 401 is returned when the request is unauthorized. A 404 is returned when the team or project cannot be found. A 409 is returned when a mapping for the same team and project already exists. project and team must be UUIDs.