<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Create_User_Group</id>
		<title>API Create User Group - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Create_User_Group"/>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Create_User_Group&amp;action=history"/>
		<updated>2026-04-22T11:23:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=API_Create_User_Group&amp;diff=4525&amp;oldid=prev</id>
		<title>IVSWikiBlue: Created page with &quot;This API call will create a new user group.  ===Resource URL=== &lt;pre&gt;http://valt.example.com/api/v3/admin/user_groups&lt;/pre&gt;  ===Resource Information=== {|class=&quot;wikitable&quot; |''...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Create_User_Group&amp;diff=4525&amp;oldid=prev"/>
				<updated>2020-04-14T19:23:00Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This API call will create a new user group.  ===Resource URL=== &amp;lt;pre&amp;gt;http://valt.example.com/api/v3/admin/user_groups&amp;lt;/pre&amp;gt;  ===Resource Information=== {|class=&amp;quot;wikitable&amp;quot; |&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This API call will create a new user group.&lt;br /&gt;
&lt;br /&gt;
===Resource URL===&lt;br /&gt;
&amp;lt;pre&amp;gt;http://valt.example.com/api/v3/admin/user_groups&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Resource Information===&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Method'''&lt;br /&gt;
|POST&lt;br /&gt;
|-&lt;br /&gt;
|'''Headers'''&lt;br /&gt;
|Content-Type:application/json&lt;br /&gt;
|-&lt;br /&gt;
|'''Response Type'''&lt;br /&gt;
|JSON&lt;br /&gt;
|-&lt;br /&gt;
|'''Authentication Required'''&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
The JSON body must be properly formatted. All fields and values should be enclosed in double quotes and separated by a colon.&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;4&amp;quot;|Field Name&lt;br /&gt;
!Description&lt;br /&gt;
!Required&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;4&amp;quot;|'''name'''&lt;br /&gt;
|Group Name&lt;br /&gt;
|yes&lt;br /&gt;
|Staff&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;4&amp;quot;|'''template'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|{&amp;quot;marker&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;information&amp;quot;:&amp;quot;1&amp;quot;}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''marker'''&lt;br /&gt;
|ID number for default marker template&lt;br /&gt;
|yes&lt;br /&gt;
|2&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''information'''&lt;br /&gt;
|ID number for default information template&lt;br /&gt;
|yes&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;4&amp;quot;|'''max_record_duration'''&lt;br /&gt;
|Maximum duration for recordings created by users in the new group.&lt;br /&gt;
|no&lt;br /&gt;
|180&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;4&amp;quot;|'''rooms'''&lt;br /&gt;
|Array of rooms the new group will have access to.&lt;br /&gt;
|no&lt;br /&gt;
|[1,4,7]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;4&amp;quot;|'''video_access'''&lt;br /&gt;
|&lt;br /&gt;
|no&lt;br /&gt;
|{&amp;quot;users&amp;quot;:[15],&amp;quot;user_groups&amp;quot;:[1]}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''users'''&lt;br /&gt;
|Array of user ids who's videos the new group will have access to.&lt;br /&gt;
|no&lt;br /&gt;
|[17,39,84]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''user_groups'''&lt;br /&gt;
|Array of user group ids who's videos the new group will have access to.&lt;br /&gt;
|no&lt;br /&gt;
|[1,3,17]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;4&amp;quot;|'''retention'''&lt;br /&gt;
|&lt;br /&gt;
|no&lt;br /&gt;
|{&amp;quot;type&amp;quot;:&amp;quot;days&amp;quot;,&amp;quot;for&amp;quot;:6}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''type'''&lt;br /&gt;
|Retention Type (Valid Values: infinitely, until, days, hours, minutes)&lt;br /&gt;
|no&lt;br /&gt;
|until&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''until'''&lt;br /&gt;
|Date videos will be retained until.&lt;br /&gt;
|no&lt;br /&gt;
|06-01-2020&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''for'''&lt;br /&gt;
|Number of hours, days, or minutes videos will be retained for.&lt;br /&gt;
|no&lt;br /&gt;
|180&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;4&amp;quot;|'''rights'''&lt;br /&gt;
|Array of rights and subrights names&lt;br /&gt;
|no&lt;br /&gt;
|[&amp;quot;general&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;general--home&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;general--alert&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;general--edit-profile&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;general--password-complexity&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;general--change-password&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;general--notifications&amp;quot;]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Response===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Reason&lt;br /&gt;
|-&lt;br /&gt;
|200&lt;br /&gt;
|Request Successful&lt;br /&gt;
|-&lt;br /&gt;
|400&lt;br /&gt;
|Invalid Request (See Response for Specific Error)&lt;br /&gt;
|-&lt;br /&gt;
|401&lt;br /&gt;
|Unauthorized&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+JSON Response&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|data&lt;br /&gt;
|-&lt;br /&gt;
|'''id'''&lt;br /&gt;
|ID number for the new group.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Request===&lt;br /&gt;
The sample JSON body below is formatted with line breaks and indentation to make it easier to read. This is '''not''' required.&lt;br /&gt;
&amp;lt;pre&amp;gt;https://ivstest1.ad.ipivs.com/api/v3/admin/user_groups?access_token=e82632d19c523678fea3d1016c6df9e9&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;name&amp;quot;:&amp;quot;API Group 16&amp;quot;,&lt;br /&gt;
&amp;quot;template&amp;quot;:{&lt;br /&gt;
  &amp;quot;marker&amp;quot;:2,&lt;br /&gt;
  &amp;quot;information&amp;quot;:1&lt;br /&gt;
	},&lt;br /&gt;
&amp;quot;max_record_duration&amp;quot;: 180,&lt;br /&gt;
  &amp;quot;rooms&amp;quot;:[37,39,40],&lt;br /&gt;
  &amp;quot;video_access&amp;quot;:{&lt;br /&gt;
    &amp;quot;users&amp;quot;:[15],&lt;br /&gt;
    &amp;quot;user_groups&amp;quot;:[1]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;retention&amp;quot;:{&lt;br /&gt;
    &amp;quot;type&amp;quot;:&amp;quot;days&amp;quot;,&lt;br /&gt;
    &amp;quot;for&amp;quot;:6&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;rights&amp;quot;:[&amp;quot;general&amp;quot;,&amp;quot;general--home&amp;quot;,&amp;quot;general--alert&amp;quot;,&amp;quot;general--edit-profile&amp;quot;,&amp;quot;general--password-complexity&amp;quot;,&amp;quot;general--change-password&amp;quot;,&amp;quot;general--notifications&amp;quot;]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Successful Response===&lt;br /&gt;
Sample response is shown with line breaks to make it more readable. Actual responses will not include line breaks.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;data&amp;quot;:{&lt;br /&gt;
&amp;quot;id&amp;quot;: 8&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Failure Response===&lt;br /&gt;
Sample response is shown with line breaks to make it more readable. Actual responses will not include line breaks.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;data&amp;quot;:{&lt;br /&gt;
&amp;quot;message&amp;quot;: &amp;quot;Validation Error&amp;quot;,&lt;br /&gt;
&amp;quot;fields&amp;quot;:[&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;name&amp;quot;: &amp;quot;marker&amp;quot;,&lt;br /&gt;
&amp;quot;message&amp;quot;: &amp;quot;Invalid template ID&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;name&amp;quot;: &amp;quot;information&amp;quot;,&lt;br /&gt;
&amp;quot;message&amp;quot;: &amp;quot;Invalid template ID&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
]&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;code&amp;quot;: 400&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	</feed>