Skip to content

Commit 3134946

Browse files
committed
docs(Visual Recognition): Remove legacy apikey from documentation
1 parent f93ac6e commit 3134946

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Watson services are migrating to token-based Identity and Access Management (IAM
4747

4848
- With some service instances, you authenticate to the API by using **[IAM](#iam)**.
4949
- In other instances, you authenticate by providing the **[username and password](#username-and-password)** for the service instance.
50-
- Visual Recognition uses a form of [API key](#api-key) only with instances created before May 23, 2018. Newer instances of Visual Recognition use [IAM](#iam).
5150

5251
### Getting credentials
5352
To find out which authentication to use, view the service credentials. You find the service credentials for authentication the same way for all Watson services:
@@ -102,15 +101,6 @@ void Example()
102101
}
103102
```
104103

105-
### API key
106-
**Important**: This type of authentication works only with Visual Recognition instances created before May 23, 2018. Newer instances of Visual Recognition use [IAM](#iam).
107-
```cs
108-
void Example()
109-
{
110-
_visualRecognition = new VisualRecognitionService("<apikey>", "<version-date>");
111-
}
112-
```
113-
114104
## Custom Request Headers
115105
You can send custom request headers by adding them to the `customData` object.
116106
```cs

0 commit comments

Comments
 (0)