Request

PATCH https://v2.api.uberflip.com/user-groups/{groupId}
curl -X PATCH -H "Content-Type: application/json" -H "Authorization: Bearer [Token]" -d "{ \
     \"name\": \"groupname\", \
     \"description\": \"description\", \
     }" \
-i https://v2.api.uberflip.com/user-groups/{groupId}
import requests
import json

headers = {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer [Token]',
}

data = '{ "name": "groupname", "description": "description", }'

response = requests.patch('https://v2.api.uberflip.com/user-groups/%7BgroupId%7D', headers=headers, data=json.dumps(data))
// Generated by curl-to-PHP: http://incarnate.github.io/curl-to-php/
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://v2.api.uberflip.com/streams');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');


$headers = array();
$headers[] = 'Authorization: Bearer [Token]';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close($ch);
var request = require('request');

var headers = {
    'Authorization': 'Bearer [Token]'
};

var options = {
    url: 'https://v2.api.uberflip.com/streams',
    headers: headers
};

function callback(error, response, body) {
    if (!error && response.statusCode == 200) {
        console.log(body);
    }
}

request(options, callback);

Path Parameters

Description

groupId

The unique identifier of the user group

Body Parameters

Type

Description

name

String

The user group name

description

String

The user group description