public function createPublicKey($data) { return $this->apiClient->post()->addPath('device-credentials')->withHeader(new ContentType('application/json'))->withBody(json_encode($data))->call(); }