{
"opencollection": "1.0.0",
"info": {
"name": "Port Action Runs Teams API",
"version": "1.0"
},
"items": [
{
"info": {
"name": "Teams",
"type": "folder"
},
"items": [
{
"info": {
"name": "Get all teams in your organization",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/v1/teams",
"params": [
{
"name": "fields",
"value": "",
"type": "query",
"description": "The fields you want to fetch for each team. If used, only the specified fields will be included in the response."
}
],
"auth": {
"type": "apikey",
"key": "Authorization",
"value": "{{Authorization}}",
"placement": "header"
}
},
"docs": "This route allows you to fetch all of the teams in your Port organization.
To learn more about teams, check out the [documentation](https://docs.port.io/sso-rbac/rbac-overview/)."
},
{
"info": {
"name": "Create a team",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/v1/teams",
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "apikey",
"key": "Authorization",
"value": "{{Authorization}}",
"placement": "header"
}
},
"docs": "This route allows you to create a new team in your Port organization.
To learn more about teams, check out the [documentation](https://docs.port.io/sso-rbac/rbac-overview/)."
},
{
"info": {
"name": "Get a team",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/v1/teams/:name",
"params": [
{
"name": "fields",
"value": "",
"type": "query",
"description": "The fields you want to fetch for the team. If used, only the specified fields will be included in the response."
},
{
"name": "name",
"value": "",
"type": "path",
"description": "The name of the team you want to fetch."
}
],
"auth": {
"type": "apikey",
"key": "Authorization",
"value": "{{Authorization}}",
"placement": "header"
}
},
"docs": "This route allows you to fetch a specific team in your Port organization.
To learn more about teams, check out the [documentation](https://docs.port.io/sso-rbac/rbac-overview/)."
},
{
"info": {
"name": "Change a team",
"type": "http"
},
"http": {
"method": "PUT",
"url": "{{baseUrl}}/v1/teams/:name",
"params": [
{
"name": "name",
"value": "",
"type": "path",
"description": "The name of the team you want to change."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "apikey",
"key": "Authorization",
"value": "{{Authorization}}",
"placement": "header"
}
},
"docs": "This route allows you to change a team's details. This can be used to update the team's name, users, and description.
To learn more about teams, check out the [documentation](https://docs.port.io/sso-rbac/rbac-overview/)."
},
{
"info": {
"name": "Update a team",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "{{baseUrl}}/v1/teams/:name",
"params": [
{
"name": "name",
"value": "",
"type": "path",
"description": "The name of the team you want to update."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "apikey",
"key": "Authorization",
"value": "{{Authorization}}",
"placement": "header"
}
},
"docs": "This route allows you to update a team's details. This can be used to update the team's name, users, and description.
To learn more about teams, check out the [documentation](https://docs.port.io/sso-rbac/rbac-overview/)."
},
{
"info": {
"name": "Delete a team",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/v1/teams/:name",
"params": [
{
"name": "name",
"value": "",
"type": "path",
"description": "The name of the team you want to delete."
}
],
"auth": {
"type": "apikey",
"key": "Authorization",
"value": "{{Authorization}}",
"placement": "header"
}
},
"docs": "This route allows you to delete a team in your Port organization.
To learn more about teams, check out the [documentation](https://docs.port.io/sso-rbac/rbac-overview/)."
}
]
}
],
"bundled": true
}