Create
Create Manually Managed Resource Type
post/api/v1/apps/{app_id}/resource_types
Invokes the c1.api.app.v1.AppResourceTypeService.CreateManuallyManagedResourceType method.
Path Parameters
app_idstring
The appId field.
Body Parameters
displayNamestring
The displayName field.
resourceTypeenum
"ROLE" OR "GROUP" OR "LICENSE" OR 4 more
The resourceType field.
Returns
appResourceTypeidstringappIdstringcreatedAtstringdeletedAtstringdisplayNamestringtraitIdsarray of stringupdatedAtstringC1APIAppV1AppResourceType
optional
The AppResourceType is referenced by an app entitlement defining its resource types. Commonly things like Group or Role.
expandedarray of object
optional
The expanded field.
Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/apps/$APP_ID/resource_types \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY" \
-d '{
"displayName": "displayName",
"resourceType": "ROLE"
}'200 Example
{
"appResourceType": {
"displayName": "displayName",
"traitIds": [
"string"
]
},
"expanded": [
{
"@type": "@type"
}
]
}