The fields that can be specified when adding permissions to an execution environment. Note that only one of user_guid or group_guid can be specified in a single request.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/posit/main/json-schema/posit-environment-permission-input-schema.json",
"title": "EnvironmentPermissionInput",
"description": "The fields that can be specified when adding permissions to an execution environment.\nNote that only one of user_guid or group_guid can be specified in a single request.",
"x-generated": "2026-10-03",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/posit-environment-permissions-api-openapi.yml#/components/schemas/EnvironmentPermissionInput",
"additionalProperties": false,
"properties": {
"user_guid": {
"description": "The identifier of the user. Do not specify this field if you are adding a group.",
"format": "uuid",
"type": [
"string",
"null"
]
},
"group_guid": {
"description": "The identifier of the group. Do not specify this field if you are adding a user.",
"format": "uuid",
"type": [
"string",
"null"
]
}
},
"type": "object"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.