Map an operating system to a platform
POST/api/v1/Platform/:id/osmap
Associates an operating system name with the platform so resources whose reported operating system contains that name are matched to the platform. Fails if that operating system name is already mapped to any platform; the comparison is not case-sensitive.
Permission required: Requires the Admin or App role.
Request
Responses
- 200
- 400
- 403
- 404
The mapping was created; the response contains the operating system and platform identifier.
The operating system is already mapped (not case-sensitive) or the mapping could not be created.
The caller does not have the required role.
No platform matches the identifier.