Este contenido no está disponible en el idioma seleccionado.
Chapter 8. Teams
Name | Description |
---|---|
name | Name of the team |
id | Unique identifier of the team |
8.1. Create Team Copiar enlaceEnlace copiado en el portapapeles!
Create a new team. Note that the maximum number of teams that can be created is determined by the max_teams
capability. See Chapter 4, User Information for more information on user capabilities.
- Team names must be a minimum of 2 characters in length, with a maximum length of 250 characters
- If there are multiple teams under one owner, each team must have a unique name
- Team names cannot be modified
Method | URL Structure |
---|---|
POST | /broker/rest/teams |
{ "name": "myteam", }
{
"name": "myteam",
}
curl -X POST https://openshift.redhat.com/broker/rest/teams --user user@example.com:password --data-urlencode name=myteam
$ curl -X POST https://openshift.redhat.com/broker/rest/teams --user user@example.com:password --data-urlencode name=myteam
The API returns the team resource with related resource links which have been left out for brevity. See Chapter 8, Teams for more information on all team parameters.