GET runtime/tasks/{taskId}/identitylinks/groups</programlisting>
</para>
<para>
Returns only identity links targetting either users or groups. Response body and status-codes are exactly the same as when getting the full list of identity links for a task.
</para>
</section>
<section>
<title>Get a single identity link on a task</title>
<entry>Either <literal>groups</literal> or <literal>users</literal>, depending on what kind of identity is targetted.</entry>
</row>
<row>
<entry>identityId</entry>
<entry>Yes</entry>
<entry>String</entry>
<entry>The id of the identity.</entry>
</row>
<row>
<entry>type</entry>
<entry>Yes</entry>
<entry>String</entry>
<entry>The type of identity link.</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
<para>
<table>
<title>Response codes</title>
<tgroupcols='2'>
<thead>
<row>
<entry>Response code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>200</entry>
<entry>Indicates the task and identity link was found and returned.</entry>
</row>
<row>
<entry>404</entry>
<entry>Indicates the requested task was not found or the task doesn't have the requested identityLink. The status contains additional information about this error.</entry>
<entry>Either <literal>groups</literal> or <literal>users</literal>, depending on what kind of identity is targetted.</entry>
</row>
<row>
<entry>identityId</entry>
<entry>Yes</entry>
<entry>String</entry>
<entry>The id of the identity.</entry>
</row>
<row>
<entry>type</entry>
<entry>Yes</entry>
<entry>String</entry>
<entry>The type of identity link.</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
<para>
<table>
<title>Response codes</title>
<tgroupcols='2'>
<thead>
<row>
<entry>Response code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>204</entry>
<entry>Indicates the task and identity link were found and the link has been deleted. Response-body is intentionally empty.</entry>
</row>
<row>
<entry>404</entry>
<entry>Indicates the requested task was not found or the task doesn't have the requested identityLink. The status contains additional information about this error.</entry>