Skip to content

解除刷脸用户签约关系接口

请求参数类型描述
organization_idstring机构ID
use_idstring刷脸用户ID
php
$instance->v3->offlinefacemch->organizations->_organization_id_->users->userId->_user_id_->terminateContract->postAsync([
  'organization_id' => '',
  'use_id' => '',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance->chain('v3/offlinefacemch/organizations/{organization_id}/users/user-id/{user_id}/terminate-contract')->postAsync([
  'organization_id' => '',
  'use_id' => '',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance['v3/offlinefacemch/organizations/{organization_id}/users/user-id/{user_id}/terminate-contract']->postAsync([
  'organization_id' => '',
  'use_id' => '',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r($response->getStatusCode() === 204);
})
->wait();
php
$response = $instance->v3->offlinefacemch->organizations->_organization_id_->users->userId->_user_id_->terminateContract->post([
  'organization_id' => '',
  'use_id' => '',
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance->chain('v3/offlinefacemch/organizations/{organization_id}/users/user-id/{user_id}/terminate-contract')->post([
  'organization_id' => '',
  'use_id' => '',
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance['v3/offlinefacemch/organizations/{organization_id}/users/user-id/{user_id}/terminate-contract']->post([
  'organization_id' => '',
  'use_id' => '',
]);
print_r($response->getStatusCode() === 204);
返回字典类型描述
空字符串(无返回内容)

参阅 官方文档

Published on the GitHub by TheNorthMemory